From: Bruce Momjian <bruce@momjian.us>
To: klimm@lohn24.de
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #9897: Wrong Julian Date through ODBC
Date: Wed, 9 Apr 2014 06:02:22 -0400
Message-ID: <20140409100222.GM8685@momjian.us> (raw)
In-Reply-To: <20140407180953.309.366@wrigleys.postgresql.org>
References: <20140407180953.309.366@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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. +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, klimm@lohn24.de
Subject: Re: BUG #9897: Wrong Julian Date through ODBC
In-Reply-To: <20140409100222.GM8685@momjian.us>
References: <20140407180953.309.366@wrigleys.postgresql.org> <20140409100222.GM8685@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox