Re: 'infinity'::timestamp not translated correctly - Mailing list pgsql-odbc

From Bruce Momjian
Subject Re: 'infinity'::timestamp not translated correctly
Date
Msg-id 200204180256.g3I2uO427257@candle.pha.pa.us
Whole thread Raw
In response to Re: 'infinity'::timestamp not translated correctly  (Kristis Makris <kristis.makris@datasoft.com>)
List pgsql-odbc
Your patch has been added to the PostgreSQL unapplied patches list at:

    http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------


Kristis Makris wrote:
> > I don't think it's a good idea to rely on PostgreSQL's
> > *infinity* timestamp. As I already mentioned there's no
> > concept in ODBC's SQL_C_(TYPE_)TIMESTAMP type. However
> > psqlodbc driver seems to be able to return *infinity* as
> > SQL_C_CHAR and I've just changed the driver. Please try
> > the latest driver at http://w2422.nsk.ne.jp/~inoue/.
>
> I like the change. At least now there's something consistent we can rely
> on to interpret as "infinity".
>
> BTW: an hour of 24 is invalid. 23:59:59 may be a better choice.
>
> Thanks,
> -Kristis

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-odbc by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: strange error: ERROR: fmgr_info: function 2980747: cache
Next
From: Hiroshi Inoue
Date:
Subject: Re: 'infinity'::timestamp not translated correctly