From 498d0087eb50f39372c6f2cfe5c1014efc2cdd47 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Thu, 27 Dec 2001 00:04:44 +0000
Subject: [PATCH] Update for new timestamp behavior.

---
 HISTORY                   |  6 +++++-
 doc/src/sgml/release.sgml | 14 +++++++++++++-
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/HISTORY b/HISTORY
index 3796d331382..b32fe01bb86 100644
--- a/HISTORY
+++ b/HISTORY
@@ -69,9 +69,12 @@ Migration to version 7.2
      * The function "octet_length()" now returns the uncompressed data
        length.
 
-     * The date/time value current is no longer available. You will need to
+     * The date/time value "current" is no longer available. You will need to
        rewrite your applications.
 
+     * The timestamp() function is no longer available.  Use timestamp
+       "string" instead, or CAST.
+
    The SELECT ... LIMIT #,# syntax will be removed in the next release. You
    should change your queries to use separate LIMIT and OFFSET clauses, e.g.
    LIMIT 10 OFFSET 20.
@@ -241,6 +244,7 @@ Changes
    Fix path_inter, path_distance, path_length, dist_ppath to handle closed paths (Curtis Barrett, Tom)
    octet_length(text) now returns non-compressed length (Tatsuo, Bruce)
    Handle "July" full name in date/time literals (Greg Sabino Mullane)
+   datatype(const,...) function calls now evaluated earlier
 
      ----------------------------------------------------------------------
 
diff --git a/doc/src/sgml/release.sgml b/doc/src/sgml/release.sgml
index 99949e091d6..ba374376485 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.105 2001/12/23 18:20:05 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.106 2001/12/27 00:04:44 momjian Exp $
 -->
 
 <appendix id="release">
@@ -152,6 +152,17 @@ $Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.105 2001/12/23 18:20:05 pe
        available.  You will need to rewrite your applications.
       </para>
      </listitem>
+
+     <listitem>
+      <para>
+       The <literal>timestamp()</literal> function is no longer
+       available.  Use <literal>timestamp "string"</literal> instead, 
+       or <literal>CAST</literal>.
+      </para>
+     </listitem>
+
+
+
     </itemizedlist>
    </para>
 
@@ -337,6 +348,7 @@ Optimize length functions when using single-byte encodings (Tatsuo)
 Fix path_inter, path_distance, path_length, dist_ppath to handle closed paths (Curtis Barrett, Tom)
 octet_length(text) now returns non-compressed length (Tatsuo, Bruce)
 Handle "July" full name in date/time literals (Greg Sabino Mullane)
+datatype(const,...) function calls now evaluated earlier
 </literallayout>
    </sect3>
 
-- 
GitLab