Re: postgresql 7.3.2 bug on date '1901-12-13' and '1901-12

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Arnold Mavromatis <A(dot)Mavromatis(at)bom(dot)gov(dot)au>
Cc: <pgsql-bugs(at)postgresql(dot)org>, Lan Tran <L(dot)Tran(at)bom(dot)gov(dot)au>, "'meg(at)bom(dot)gov(dot)au'" <meg(at)bom(dot)gov(dot)au>, "'aam(at)bom(dot)gov(dot)au'" <aam(at)bom(dot)gov(dot)au>
Subject: Re: postgresql 7.3.2 bug on date '1901-12-13' and '1901-12
Date: 2003-08-21 06:37:22
Message-ID: 20030820231757.K33318-100000@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers


On Thu, 21 Aug 2003, Arnold Mavromatis wrote:

> Hi Stephan and everyone

Hmm, I just got my machine to give a similar failure mode with
a slightly wacky input.

sszabo=> select timestamptz '1901/12/13 23:59:59.99999';
timestamptz
---------------------------
1901-12-13 23:59:59.99999
(1 row)

sszabo=> select timestamptz '1901/12/13 23:59:59.999999999';
timestamptz
------------------------
1901-12-13 16:00:00-08
(1 row)

sszabo=> select timestamptz '1901/12/14 0:0:0';
timestamptz
------------------------
1901-12-14 00:00:00-08
(1 row)

This happens on both 7.3.4 and 7.4.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message dasari umamahesh 2003-08-21 07:04:51 bug when install postgresql.
Previous Message Arnold Mavromatis 2003-08-21 05:37:06 Re: postgresql 7.3.2 bug on date '1901-12-13' and '1901-12

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2003-08-21 07:38:41 Re: "SELECT IN" Still Broken in 7.4b
Previous Message Martijn van Oosterhout 2003-08-21 05:40:29 Re: Buglist