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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy