time problem with postgres ODBC driver

From: Laurette Cisneros <laurette(at)nextbus(dot)com>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: time problem with postgres ODBC driver
Date: 2002-02-12 02:08:47
Message-ID: Pine.LNX.4.33.0202111808290.9906-100000@visor.corp.nextbus.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc


We are seeing a problem with the ODBC driver.

Using this table:

create table tst
( col1 date,
col2 time);

and inserting values (rows) into the date and time columns.

When using the PostreSQL ODBC driver version 07.01.0007 against both a 7.2
and 7.1 database server, a select * from tst returns the date value for
col1 correctly, but returns the current date for col2 (which obviously is
wrong).

Interestingly, we have a system that has (had) the GreatBridge ODBC driver
on it and it was working fine until we installed the PostgreSQL driver onto
it.

Is this a known problem? Any ideas?

Thanks,
--
Laurette Cisneros
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
Passenger Information Everywhere

Browse pgsql-odbc by date

  From Date Subject
Next Message Jean-Michel POURE 2002-02-12 09:02:07 Re: Unicode support
Previous Message Hiroshi Inoue 2002-02-12 00:45:42 Re: Unicode support