Update FAQ.
authorBruce Momjian
Fri, 14 Feb 2003 04:07:46 +0000 (04:07 +0000)
committerBruce Momjian
Fri, 14 Feb 2003 04:07:46 +0000 (04:07 +0000)
doc/FAQ
doc/src/FAQ/FAQ.html

diff --git a/doc/FAQ b/doc/FAQ
index c75ee9d62b96c31b0229ab722360ac1c945fc602..580ced306b3426ef3154a3827eb4415b79071b1e 100644 (file)
--- a/doc/FAQ
+++ b/doc/FAQ
@@ -1,7 +1,7 @@
 
                 Frequently Asked Questions (FAQ) for PostgreSQL
                                        
-   Last updated: Mon Jan 27 01:24:42 EST 2003
+   Last updated: Thu Feb 13 23:07:35 EST 2003
    
    Current maintainer: Bruce Momjian ([email protected])
    
index b1ca31a3855d364737cc3b2b7fdcbea55634ae3a..5a2025f88bdf0c76081970e1048a4c2e8a725b72 100644 (file)
@@ -10,7 +10,7 @@
   alink="#0000ff">
     

Frequently Asked Questions (FAQ) for PostgreSQL

 
-    

Last updated: Thu Dec  5 00:47:26 EST 2002

+    

Last updated: Thu Feb 13 23:07:35 EST 2003

 
     

Current maintainer: Bruce Momjian (

 
     

1.7) What is the latest release?

 
-    

The latest release of PostgreSQL is version 7.2.3.

+    

The latest release of PostgreSQL is version 7.3.1.

 
     

We plan to have major releases every four months.

 
     interface?
 
     Yes, there are several graphical interfaces to PostgreSQL available.
-    These include PgAccess com">
-    http://www.pgaccess.com), PgAdmin II (
+    These include PgAccess org">
+    http://www.pgaccess.org), PgAdmin II (
     href="http://www.pgadmin.org">http://www.pgadmin.org,
     Win32-only), RHDB Admin (
     href="http://sources.redhat.com/rhdb/">http://sources.redhat.com/rhdb/
     http://phppgadmin.sourceforge.net/ ), a web-based interface to 
     PostgreSQL.
 
-    

We have a nice graphical user interface called PgAccess which can

-    also be used as a report generator. The Web page is
-    http://www.pgaccess.org/.

-
     

2.4) What languages are able to communicate with 

     PostgreSQL?
 
     the number of allowed backend processes is so your system won't run
     out of resources.

 
-    

In PostgreSQL versions prior to 6.5, the maximum number of

-    backends was 64, and changing it required a rebuild after altering
-    the MaxBackendId constant in
-    include/storage/sinvaladt.h.

-
     

3.9) What is in the pgsql_tmp directory?

 
     

This directory contains temporary files generated by the query 

     LIMIT 1;
 
 
+    

If you believe the optimizer is incorrect in choosing a

+    sequential scan, use SET enable_seqscan TO 'off' and
+    run tests to see if an index scan is indeed faster.

+
     

When using wild-card operators such as LIKE or

     ~, indexes can only be used in certain circumstances:

     
     
     Type            Internal Name   Notes
     --------------------------------------------------
    -"char"          char            1 character
    -CHAR(n)         bpchar          blank padded to the specified fixed length
     VARCHAR(n)      varchar         size specifies maximum length, no padding
    +CHAR(n)         bpchar          blank padded to the specified fixed length
     TEXT            text            no specific upper limit on length
    +"char"          char            one character
     BYTEA           bytea           variable-length byte array (null-byte safe)
     
     
    @@ -1056,11 +1051,13 @@ BYTEA           bytea           variable-length byte array (null-byte safe)
         stored out-of-line by TOAST, so the space on disk
         might also be less than expected.

     
    -    

    CHAR(n) is best when storing strings that are

    -    usually the same length. VARCHAR(n) is best when
    -    storing variable-length strings but it limits how long a string can
    -    be. TEXT is for strings of unlimited length, maximum
    -    1 gigabyte. BYTEA is for storing binary data,
    +    VARCHAR(n) is best when storing variable-length
    +    strings and it limits how long a string can be. TEXT
    +    is for strings of unlimited length, with a maximum of one gigabyte.
    +    

    CHAR(n) is for storing strings that are all the

    +    same length. CHAR(n) pads with blanks to the specified
    +    length, while VARCHAR(n) only stores the characters
    +    supplied.  BYTEA is for storing binary data,
         particularly values that include NULL bytes. These
         types have similar performance characteristics.

     
    @@ -1286,7 +1283,7 @@ BYTEA           bytea           variable-length byte array (null-byte safe)
     
     
         For this to be fast, subcol should be an indexed column.
    -    We hope to fix this limitation in a future release.
    +    This preformance problem will be fixed in 7.4.
     
         

    4.23) How do I perform an outer join?