Update FAQ.
authorBruce Momjian
Sat, 24 Jun 2000 01:51:14 +0000 (01:51 +0000)
committerBruce Momjian
Sat, 24 Jun 2000 01:51:14 +0000 (01:51 +0000)
doc/FAQ
doc/src/FAQ.html

diff --git a/doc/FAQ b/doc/FAQ
index cff90e0aaed18cbdfa02c19438e95e5364c016d6..cb9bfbe20596d6626c5ddb1b63b37932550ff02e 100644 (file)
--- a/doc/FAQ
+++ b/doc/FAQ
    
    Features
           PostgreSQL has most features present in large commercial
-          DBMS's, like transactions, subselects, triggers, views, and
-          sophisticated locking. We have some features they don't have,
-          like user-defined types, inheritance, rules, and multi-version
-          concurrency control to reduce lock contention. We don't have
-          foreign key referential integrity or outer joins, but are
+          DBMS's, like transactions, subselects, triggers, views, foreign
+          key referential integrity, and sophisticated locking. We have
+          some features they don't have, like user-defined types,
+          inheritance, rules, and multi-version concurrency control to
+          reduce lock contention. We don't have outer joins, but are
           working on them for our next release.
           
    Performance
                                       
     2.1) Are there ODBC drivers for PostgreSQL?
     
-   There are two ODBC drivers available, PostODBC and OpenLink ODBC.
+   There are two ODBC drivers available, PsqlODBC and OpenLink ODBC.
    
-   PostODBC is included in the distribution. More information about it
-   can be gotten from: http://www.insightdist.com/psqlodbc
+   PsqlODBC is included in the distribution. More information about it
+   can be gotten from: ftp://ftp.postgresql.org/pub/odbc/index.html
    
    OpenLink ODBC can be gotten from http://www.openlinksw.com. It works
    with their standard ODBC client software so you'll have PostgreSQL
    commercial-quality support, but a freeware version will always be
    available. Questions to [email protected].
    
+   See also the ODBC chapter of the Programmer's Guide.
+   
     2.2) What tools are available for hooking PostgreSQL to Web pages?
     
    A nice introduction to Database-backed Web pages can be seen at:
@@ -972,12 +974,9 @@ BYTEA           bytea           variable-length array of bytes
    
     4.22) How do I create a column that will default to the current time?
     
-   This way always works:
+   Use now():
         CREATE TABLE test (x int, modtime timestamp default now() );
 
-   In releases 7.0 and later, you may use:
-        create table test (x int, modtime timestamp default 'now');
-
     4.23) Why are my subqueries using IN so slow?
     
    Currently, we join subqueries to outer queries by sequential scanning
index 619d729017a3bf4405a5b232920bcce1c8fb85b3..c118ccb0c3443051caef7cd6fdb7a83a66a1cfa4 100644 (file)
@@ -434,10 +434,10 @@ reliability, support, and price.

 
 
 PostgreSQL has most features present in large commercial DBMS's, like
-transactions, subselects, triggers, views, and sophisticated locking. 
-We have some features they don't have, like user-defined types,
-inheritance, rules, and multi-version concurrency control to reduce lock
-contention.  We don't have foreign key referential integrity or outer
+transactions, subselects, triggers, views, foreign key referential
+integrity, and sophisticated locking.  We have some features they don't
+have, like user-defined types, inheritance, rules, and multi-version
+concurrency control to reduce lock contention.  We don't have outer
 joins, but are working on them for our next release.

 
 
 Performance
@@ -506,11 +506,11 @@ in our BSD-style license stated above.

 
 

2.1) Are there ODBC drivers for PostgreSQL?

 
-There are two ODBC drivers available, PostODBC and OpenLink ODBC.

+There are two ODBC drivers available, PsqlODBC and OpenLink ODBC.

 
-PostODBC is included in the distribution. More information about it can
-be gotten from: http://www.insightdist.com/psqlodbc">
-http://www.insightdist.com/psqlodbc

+PsqlODBC is included in the distribution. More information about it can
+be gotten from: ftp://ftp.postgresql.org/pub/odbc/index.html">
+ftp://ftp.postgresql.org/pub/odbc/index.html

 
 OpenLink ODBC can be gotten from 
 http://www.openlinksw.com. It works with their standard ODBC client
@@ -522,6 +522,8 @@ commercial-quality support, but a freeware version will always be
 available. Questions to  
 
+See also the 
+ODBC chapter of the Programmer's Guide.

 
 
 

2.2) What tools are available for hooking

@@ -1054,7 +1056,7 @@ you need to dump and reload the database, you need to use pg_dump's -o
 option or COPY WITH OIDS option to preserve the oids.

 
 For more details, see Bruce Momjian's chapter on 
-/node74.html">Numbering Rows.
+Numbering Rows.
 
 

4.16.2) How do I get the back the generated SERIAL value after an insert?

 Probably the simplest approach is to to retrieve the next SERIAL value from the sequence object with the nextval() function before inserting and then insert it explicitly.  Using the example table in 4.16.1, that might look like this: