Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXtRL-0003Qs-NC for pgsql-bugs@arkaria.postgresql.org; Wed, 09 Apr 2014 14:25:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WXtRL-00038K-5e for pgsql-bugs@arkaria.postgresql.org; Wed, 09 Apr 2014 14:25:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXpV9-0008NN-Mn for pgsql-bugs@postgresql.org; Wed, 09 Apr 2014 10:13:03 +0000 Received: from mail.lohn24.de ([217.89.95.50]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WXpV6-0005Dr-Km for pgsql-bugs@postgresql.org; Wed, 09 Apr 2014 10:13:03 +0000 Received: from intranet.lohn24.local (ns2.servernet.local [192.168.100.3]) by mail.lohn24.de (Postfix) with ESMTP id 9F1FF986495; Wed, 9 Apr 2014 12:12:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=lohn24.de; s=mail; t=1397038372; bh=hm8yRaAYHjLn/rP/tKVgZNVzT/vcEgftFMTTJcs5h54=; h=Date:To:From:Cc:Subject:From; b=o74HHd9Pn02YC/SSuMyUrOxKTJFYFvqgSa6PY38NEeH6uAuLTR1Iqo2hM0hAHi6U7 tn3ZAkDxDaHOt7rn0kO17j/+g9f3zwekVCJkOzy8jRXzuG42Wg4cGu1zrH3e65z5AA l4QmBY6X7VTaLGfMWKL5T18KUZ0/qO5nauG5ty9g= Date: Wed, 9 Apr 2014 12:12:52 +0200 To: Bruce Momjian From: "Georg Klimm Lohn24.de ila GmbH" Cc: "pgsql-bugs postgresql.org" Subject: Re: BUG #9897: Wrong Julian Date through ODBC Message-ID: X-Priority: 3 X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net) X-Mailer: FeLaMiMail Organization: Lohn24.de ila GmbH MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" X-Pg-Spam-Score: -2.3 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org The BASIS Company checks if it is a problem in the Interpreter. In Delphi we cannot reproduce the error via ODBC In Business Basic the date was represented as a 4-byte Julian date with the= reported error. I will report if I have new findings ----------------urspr=C3=BCngliche Nachricht----------------- Von: Bruce Momjian [bruce@momjian.us ] An: klimm@lohn24.de Kopie: pgsql-bugs@postgresql.org Datum: Wed, 9 Apr 2014 06:02:22 -0400 ------------------------------------------------- > 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=3D> 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 http://momjian.us > EnterpriseDB http://enterprisedb.com > > + Everyone has their own god. + > > > -- > Diese Nachricht wurde auf Viren und andere gefaehrliche Inhalte untersuch= t. > > --=20 Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs