Re: BUG #9897: Wrong Julian Date through ODBC - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: BUG #9897: Wrong Julian Date through ODBC
Date
Msg-id 20140409100222.GM8685@momjian.us
Whole thread Raw
In response to BUG #9897: Wrong Julian Date through ODBC  (klimm@lohn24.de)
Responses Re: BUG #9897: Wrong Julian Date through ODBC  (Michael Paquier <michael.paquier@gmail.com>)
Re: BUG #9897: Wrong Julian Date through ODBC  ("Georg Klimm Lohn24.de ila GmbH" <klimm@lohn24.de>)
List pgsql-bugs
On Mon, Apr  7, 2014 at 06:09:53PM +0000, klimm@lohn24.de wrote:
> The following bug has been logged on the website:
>
> Bug reference:      9897
> Logged by:          Georg Klimm
> Email address:      klimm@lohn24.de
> PostgreSQL version: 8.4.20
> Operating system:   Server @ LINUX, Client @ WIndows
> Description:
>
> SELECT '2014-03-26'::DATE AS date1, '2014-03-26'::DATE AS date2
>
> returns 2456597 2456743

I don't understand these return values.

> first is 2013-10-31 and second the correct 2014-03-26
>
> same with 2014-03-27 or all other dates is working

I cannot reproduce that failure here:

    test=> SELECT '2014-03-26'::DATE AS date1, '2014-03-26'::DATE AS date2;
       date1    |   date2
    ------------+------------
     2014-03-26 | 2014-03-26
    (1 row)

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +

pgsql-bugs by date:

Previous
From: Pavel Stehule
Date:
Subject: cannot to set track_activity_query_size in kB
Next
From: Bruce Momjian
Date:
Subject: Re: cannot to set track_activity_query_size in kB