pgsql: timestamptz_izone should return the input, not NULL, when the

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: timestamptz_izone should return the input, not NULL, when the
Date: 2005-09-09 06:46:15
Message-ID: 20050909064615.423CCD7D0F@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
timestamptz_izone should return the input, not NULL, when the input
is a non-finite timestamp, for consistency with related functions.
In other words: +infinity rotated to a different timezone is still
+infinity.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
timestamp.c (r1.152 -> r1.153)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/timestamp.c.diff?r1=1.152&r2=1.153)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-09-09 06:51:14 pgsql: Given its current definition that depends on time(NULL),
Previous Message Tom Lane 2005-09-09 02:31:50 pgsql: Fix the various forms of AT TIME ZONE to accept either timezones