Skip site navigation (1) Skip section navigation (2)

Re: possible ODBC bug with '-infinity'

From: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
To: Andrei Kovalevski <andyk(at)commandprompt(dot)com>
Cc: Postgresql ODBC List <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: possible ODBC bug with '-infinity'
Date: 2007-12-03 14:14:48
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-odbc
--- On Mon, 12/3/07, Andrei Kovalevski <andyk(at)commandprompt(dot)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:

+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.

In response to


pgsql-odbc by date

Next:From: Andrei KovalevskiDate: 2007-12-03 14:49:20
Subject: Re: possible ODBC bug with '-infinity'
Previous:From: Andrei KovalevskiDate: 2007-12-03 14:00:49
Subject: Re: possible ODBC bug with '-infinity'

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group