Re: 'infinity'::timestamp not translated correctly

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Kristis Makris <kristis(dot)makris(at)datasoft(dot)com>
Cc: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>, pgsql-odbc(at)postgresql(dot)org
Subject: Re: 'infinity'::timestamp not translated correctly
Date: 2002-04-18 02:56:24
Message-ID: 200204180256.g3I2uO427257@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org)

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

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Hiroshi Inoue 2002-04-18 03:17:57 Re: 'infinity'::timestamp not translated correctly
Previous Message Hiroshi Inoue 2002-04-18 02:26:59 Re: strange error: ERROR: fmgr_info: function 2980747: cache