Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit341251f

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 parent056a664 commit341251f

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)

[8]ページ先頭

©2009-2025 Movatter.jp