From 4377a9afc3537c6b213466f15ccab595c17ecfb1 Mon Sep 17 00:00:00 2001 From: Bruce Momjian <bruce@momjian.us> Date: Wed, 22 Oct 2003 05:09:12 +0000 Subject: [PATCH] Add mention that "today" doesn't work as column default anymore. --- HISTORY | 8 ++++++-- doc/src/sgml/release.sgml | 8 +++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/HISTORY b/HISTORY index 01708418c87..c676783d83f 100644 --- a/HISTORY +++ b/HISTORY @@ -82,8 +82,12 @@ DateStyle * The oidrand(), oidsrand(), and userfntest() functions have been removed. - * 'now' will no longer work as a column default; now() should be - used instead + * 'now' will no longer work as a column default; now() or + CURRENT_TIMESTAMP should be used instead + * 'today' will no longer work as a column default; CURRENT_DATE + should be used instead + * Dollar sign ($) is no longer allowed in operator names + * Dollar sign ($) can be a non-first character in identifiers _________________________________________________________________ Changes diff --git a/doc/src/sgml/release.sgml b/doc/src/sgml/release.sgml index d912968fb57..a787134e65e 100644 --- a/doc/src/sgml/release.sgml +++ b/doc/src/sgml/release.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.214 2003/10/21 01:25:31 momjian Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.215 2003/10/22 05:09:12 momjian Exp $ --> <appendix id="release"> @@ -130,8 +130,10 @@ required for those wishing to migrate data from any previous release.</para> <listitem><para> Ambiguous date values now must match the ordering specified by DateStyle</para></listitem> <listitem><para> The <function>oidrand()</function>, <function>oidsrand()</function>, and <function>userfntest()</function> functions have been removed.</para></listitem> - <listitem><para> <literal>'now'</literal> will no longer work as a column default; <function>now()</> should be - used instead</para></listitem> + <listitem><para> <literal>'now'</literal> will no longer work as a column default; <function>now()</> or + <function>CURRENT_TIMESTAMP</> should be used instead</para></listitem> + <listitem><para> <literal>'today'</literal> will no longer work as a column default; <function>CURRENT_DATE</> + should be used instead</para></listitem> <listitem><para> Dollar sign (<literal>$</>) is no longer allowed in operator names</para></listitem> <listitem><para> Dollar sign (<literal>$</>) can be a non-first character in identifiers</para></listitem> </itemizedlist></para></sect2> -- GitLab