Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 341251f

Browse files
committed
Make clearer warning about using 'now' with DEFAULT:
SELECT CURRENT_TIMESTAMP; SELECT now(); SELECT TIMESTAMP 'now'; -- incorrect for use with DEFAULT
1 parent 056a664 commit 341251f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/func.sgml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.237 2005/01/28 23:12:59 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/func.sgml,v 1.238 2005/02/11 04:31:54 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -5763,7 +5763,7 @@ SELECT timeofday();
57635763
<programlisting>
57645764
SELECT CURRENT_TIMESTAMP;
57655765
SELECT now();
5766-
SELECT TIMESTAMP 'now';
5766+
SELECT TIMESTAMP 'now'; -- incorrect for use with DEFAULT
57675767
</programlisting>
57685768
</para>
57695769

0 commit comments

Comments
 (0)