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

Commit4377a9a

Browse files
committed
Add mention that "today" doesn't work as column default anymore.
1 parent7533e45 commit4377a9a

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

‎HISTORY

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,12 @@
8282
DateStyle
8383
* The oidrand(), oidsrand(), and userfntest() functions have been
8484
removed.
85-
* 'now' will no longer work as a column default; now() should be
86-
used instead
85+
* 'now' will no longer work as a column default; now() or
86+
CURRENT_TIMESTAMP should be used instead
87+
* 'today' will no longer work as a column default; CURRENT_DATE
88+
should be used instead
89+
* Dollar sign ($) is no longer allowed in operator names
90+
* Dollar sign ($) can be a non-first character in identifiers
8791
_________________________________________________________________
8892

8993
Changes

‎doc/src/sgml/release.sgml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.214 2003/10/21 01:25:31 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.215 2003/10/22 05:09:12 momjian Exp $
33
-->
44

55
<appendix id="release">
@@ -130,8 +130,10 @@ required for those wishing to migrate data from any previous release.</para>
130130
<listitem><para> Ambiguous date values now must match the ordering specified by DateStyle</para></listitem>
131131
<listitem><para> The <function>oidrand()</function>, <function>oidsrand()</function>,
132132
and <function>userfntest()</function> functions have been removed.</para></listitem>
133-
<listitem><para> <literal>'now'</literal> will no longer work as a column default; <function>now()</> should be
134-
used instead</para></listitem>
133+
<listitem><para> <literal>'now'</literal> will no longer work as a column default; <function>now()</> or
134+
<function>CURRENT_TIMESTAMP</> should be used instead</para></listitem>
135+
<listitem><para> <literal>'today'</literal> will no longer work as a column default; <function>CURRENT_DATE</>
136+
should be used instead</para></listitem>
135137
<listitem><para> Dollar sign (<literal>$</>) is no longer allowed in operator names</para></listitem>
136138
<listitem><para> Dollar sign (<literal>$</>) can be a non-first character in identifiers</para></listitem>
137139
</itemizedlist></para></sect2>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp