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

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 03:31:04
Message-ID: 200204180331.g3I3V4S01789@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-odbc
Hiroshi will apply this.  Thanks.

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

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

pgsql-odbc by date

Next:From: Bruce MomjianDate: 2002-04-18 04:15:38
Subject: Re: [PATCHES] PostgreSQL 7.2.1 and Sun's C compiler under Solaris8
Previous:From: Hiroshi InoueDate: 2002-04-18 03:17:57
Subject: Re: 'infinity'::timestamp not translated correctly

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