Re: 'infinity'::timestamp not translated correctly

From: Kristis Makris <kristis(dot)makris(at)datasoft(dot)com>
To: Hiroshi Inoue <Inoue(at)tpf(dot)co(dot)jp>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: 'infinity'::timestamp not translated correctly
Date: 2002-04-02 16:30:12
Message-ID: 1017765012.2607.46.camel@leonidas
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

> 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 Content-Type Size
convert.c.patch text/plain 580 bytes

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Krishna Gandhi 2002-04-02 22:57:47 The size of a field is too long.
Previous Message Krishna Gandhi 2002-04-02 06:01:52 The size of the field is too long