Skip to content

Commit b3fe924

Browse files
committed
Update FAQ.
1 parent 8e95321 commit b3fe924

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/FAQ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -958,7 +958,7 @@ BYTEA bytea variable-length array of bytes
958958
4.22) How do I create a column that will default to the current time?
959959

960960
Use now():
961-
CREATE TABLE test (x int, modtime timestamp default now() );
961+
CREATE TABLE test (x int, modtime timestamp DEFAULT now() );
962962

963963
4.23) Why are my subqueries using IN so slow?
964964

doc/src/FAQ/FAQ.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@ <H4><A NAME="4.22">4.22</A>) How do I create a column that will default to the
11661166
current time?<BR></H4><P>
11671167
Use <i>now()</i>:
11681168
<CODE><PRE>
1169-
CREATE TABLE test (x int, modtime timestamp default now() );
1169+
CREATE TABLE test (x int, modtime timestamp DEFAULT now() );
11701170
</PRE></CODE>
11711171
<P>
11721172
<H4><A NAME="4.23">4.23</A>) Why are my subqueries using

0 commit comments

Comments
 (0)