Update FAQ.

REL7_1_STABLE
Bruce Momjian 25 years ago
parent 8e95321476
commit b3fe924f2f
  1. 2
      doc/FAQ
  2. 2
      doc/src/FAQ/FAQ.html

@ -958,7 +958,7 @@ BYTEA bytea variable-length array of bytes
4.22) How do I create a column that will default to the current time?
Use now():
CREATE TABLE test (x int, modtime timestamp default now() );
CREATE TABLE test (x int, modtime timestamp DEFAULT now() );
4.23) Why are my subqueries using IN so slow?

@ -1166,7 +1166,7 @@ If you are using a client interface like ODBC you may need to set
current time?<BR></H4><P>
Use <i>now()</i>:
<CODE><PRE>
CREATE TABLE test (x int, modtime timestamp default now() );
CREATE TABLE test (x int, modtime timestamp DEFAULT now() );
</PRE></CODE>
<P>
<H4><A NAME="4.23">4.23</A>) Why are my subqueries using

Loading…
Cancel
Save