pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Broersma Jr <rabroersma@yahoo.com>
To: Andrei Kovalevski <andyk@commandprompt.com>
Cc: Postgresql ODBC List <pgsql-odbc@postgresql.org>
Subject: Re: possible ODBC bug with '-infinity'
Date: Mon, 3 Dec 2007 06:14:48 -0800 (PST)
Message-ID: <160989.65498.qm@web31805.mail.mud.yahoo.com> (raw)
In-Reply-To: <475408B6.2010700@commandprompt.com>

--- On Mon, 12/3/07, Andrei Kovalevski <andyk@commandprompt.com> wrote:

> Also all Microsoft applications notify ODBC driver 
> by setting additional parameter during initialization. I
> think ADO requests 'inifinity' value as SQL_C_CHAR and sure
> it doesn't expect it to be 'infinity'.

Actually, postgresql doesn't actually have a (+/-) infinity value. Notice:
http://www.postgresql.org/docs/8.3/static/datatype-datetime.html#AEN4999

+infinity = 5874897 AD
-infinity = 4713 BC

so the problem must be that ADO doesn't know what to do with dates as small as 4713 BCE.



view thread (11+ messages)  latest in thread

Message-ID: <160989.65498.qm@web31805.mail.mud.yahoo.com>
Permalink:  ../160989.65498.qm@web31805.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/160989.65498.qm@web31805.mail.mud.yahoo.com

 · 

reply

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-odbc@postgresql.org
  Cc: rabroersma@yahoo.com, andyk@commandprompt.com
  Subject: Re: possible ODBC bug with '-infinity'
  In-Reply-To: <160989.65498.qm@web31805.mail.mud.yahoo.com>
  References: <475408B6.2010700@commandprompt.com> <160989.65498.qm@web31805.mail.mud.yahoo.com>

* 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