Attached some minor corrections, mainly completion of removal of
authorBruce Momjian
Sat, 13 Oct 2007 03:37:12 +0000 (03:37 +0000)
committerBruce Momjian
Sat, 13 Oct 2007 03:37:12 +0000 (03:37 +0000)
the  "relation with OID ##### does not exist" item, and some URL
corrections.

Ian Barwick

doc/FAQ
doc/src/FAQ/FAQ.html

diff --git a/doc/FAQ b/doc/FAQ
index 015ce4cfe2328dc2368d814678a7a92094940bc8..ef35027ab087df5feee68504dfbcd44fc5f92a24 100644 (file)
--- a/doc/FAQ
+++ b/doc/FAQ
@@ -1,7 +1,7 @@
 
                 Frequently Asked Questions (FAQ) for PostgreSQL
                                        
-   Last updated: Tue Oct 9 16:13:00 EDT 2007
+   Last updated: Fri Oct 12 23:36:59 EDT 2007
    
    Current maintainer: Bruce Momjian ([email protected])
    
    developers spread throughout the world and communicating via the
    Internet. It is a community project and is not controlled by any
    company. To get involved, see the developer's FAQ at
-   http://www.postgresql.org/files/documentation/faqs/FAQ_DEV.html
+   http://www.postgresql.org/docs/faqs.FAQ_DEV.html
    
   1.2) Who controls PostgreSQL?
   
    http://www.commandprompt.com/ppbook/. There are a number of PostgreSQL
    books available for purchase. One of the most popular ones is by Korry
    Douglas. A list of book reviews can be found at
-   http://techdocs.postgresql.org/techdocs/bookreviews.php. There is also
-   a collection of PostgreSQL technical articles at
-   http://techdocs.postgresql.org/.
+   http://www.postgresql.org/docs/books/. There is also a collection of
+   PostgreSQL technical articles at
+   http://www.postgresql.org/docs/techdocs.
    
    The command line client program psql has some \d commands to show
    information about types, operators, functions, aggregates, etc. - use
    
   1.11) How can I learn SQL?
   
-   First, consider the PostgreSQL-specific books mentioned above. Another
-   one is "Teach Yourself SQL in 21 Days, Second Edition" at
-   http://members.tripod.com/er4ebus/sql/index.htm. Many of our users
-   like The Practical SQL Handbook, Bowman, Judith S., et al.,
-   Addison-Wesley. Others like The Complete Reference SQL, Groff et al.,
-   McGraw-Hill.
+   First, consider the PostgreSQL-specific books mentioned above. Many of
+   our users also like The Practical SQL Handbook, Bowman, Judith S., et
+   al., Addison-Wesley. Others like The Complete Reference SQL, Groff et
+   al., McGraw-Hill.
    
    There are also many nice tutorials available online:
      * http://www.intermedia.net/support/sql/sqltut.shtm
   4.18) How do I return multiple rows or columns from a function?
   
    It is easy using set-returning functions,
-   http://www.postgresql.org/docs/techdocs.17
-   .
-   
-  4.19) Why do I get "relation with OID ##### does not exist" errors when
-  accessing temporary tables in PL/PgSQL functions?
-  
-   PL/PgSQL caches function scripts, and an unfortunate side effect is
-   that if a PL/PgSQL function accesses a temporary table, and that table
-   is later dropped and recreated, and the function called again, the
-   function will fail because the cached function contents still point to
-   the old temporary table. The solution is to use EXECUTE for temporary
-   table access in PL/PgSQL. This will cause the query to be reparsed
-   every time.
+   http://www.postgresql.org/docs/techdocs.17.
    
   4.19) What replication solutions are available?
   
index e829f083147059744da9c00299daf1cb1d20514d..38baf49798bf14975ad76f691b67a46097983899 100644 (file)
@@ -10,7 +10,7 @@
   alink="#0000ff">
     

Frequently Asked Questions (FAQ) for PostgreSQL

 
-    

Last updated: Tue Oct  9 16:13:00 EDT 2007

+    

Last updated: Fri Oct 12 23:36:59 EDT 2007

 
     

Current maintainer: Bruce Momjian (

     developers spread throughout the world and communicating via the
     Internet. It is a community project and is not controlled by any
     company. To get involved, see the developer's FAQ at 
-    "http://www.postgresql.org/files/documentation/faqs/FAQ_DEV.html">
-    http://www.postgresql.org/files/documentation/faqs/FAQ_DEV.html
+    "http://www.postgresql.org/docs/faqs.FAQ_DEV.html">
+    http://www.postgresql.org/docs/faqs.FAQ_DEV.html
     

 
     1.2) Who controls PostgreSQL?
     There are a number of PostgreSQL books available for purchase.  One
     of the most popular ones is by Korry Douglas.  A list of book reviews
     can be found at 
-    "http://techdocs.postgresql.org/techdocs/bookreviews.php">http://techdocs.postgresql.org/techdocs/bookreviews.php.
+    "http://www.postgresql.org/docs/books/">http://www.postgresql.org/docs/books/.
     There is also a collection of PostgreSQL technical articles at 
     href=
-    "http://techdocs.postgresql.org/">http://techdocs.postgresql.org/.

+    "http://www.postgresql.org/docs/techdocs">http://www.postgresql.org/docs/techdocs.

 
     

The command line client program psql has some \d commands to show

     information about types, operators, functions, aggregates, etc. - use \? to 
     SQL?
 
     

First, consider the PostgreSQL-specific books mentioned above.

-    Another one is "Teach Yourself SQL in 21 Days, Second Edition"
-    at 
-    "http://members.tripod.com/er4ebus/sql/index.htm">http://members.tripod.com/er4ebus/sql/index.htm.
-    Many of our users like The Practical SQL Handbook,
+    Many of our users also like The Practical SQL Handbook,
     Bowman, Judith S., et al., Addison-Wesley. Others like The
     Complete Reference SQL, Groff et al., McGraw-Hill.

 
 
     
A number of postgresql.conf settings affect performance.
     For more details, see 
-    "http://www.postgresql.org/docs/current/static/runtime.html">
+    "http://www.postgresql.org/docs/current/static/runtime-config.html">
     Administration Guide/Server Run-time Environment/Run-time
     Configuration for a full listing, and for commentary see 
     href="http://www.varlena.com/varlena/GeneralBits/Tidbits/annotated_conf_e.html">
@@ -1042,19 +1039,7 @@ length
 
     

It is easy using set-returning functions, 

     
-    http://www.postgresql.org/docs/techdocs.17

.
-
-    4.19) Why do I get "relation with OID #####
-    does not exist" errors when accessing temporary tables in PL/PgSQL
-    functions?
-
-    

PL/PgSQL caches function scripts, and an unfortunate side effect

-    is that if a PL/PgSQL function accesses a temporary table, and that
-    table is later dropped and recreated, and the function called again,
-    the function will fail because the cached function contents still
-    point to the old temporary table. The solution is to use
-    EXECUTE for temporary table access in PL/PgSQL. This
-    will cause the query to be reparsed every time.

+    http://www.postgresql.org/docs/techdocs.17.

 
     4.19) What replication solutions are available?
     
@@ -1066,7 +1051,7 @@ length
     queries, while slaves can only accept read/SELECT
     queries. The most popular freely available master-slave PostgreSQL
     replication solution is 
-    href="http://gborg.postgresql.org/project/slony1/projdisplay.php">
+    href="http://main.slony.info/">
     Slony-I.

 
     

Multi-master replication allows read/write queries to be sent to

@@ -1085,7 +1070,7 @@ length
     double-quotes around table or column names during table creation.
     When double-quotes are used, table and column names (called
     identifiers) are stored 
-    href="http://www.postgresql.org/docs/current/static/sql-syntax.html#SQL-SYNTAX-IDENTIFIERS">
+    href="http://www.postgresql.org/docs/current/static/sql-syntax-lexical.html#SQL-SYNTAX-IDENTIFIERS">
     case-sensitive, meaning you must use double-quotes when
     referencing the names in a query.  Some interfaces, like pgAdmin,
     automatically double-quote identifiers during table creation.