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

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 (view raw or flat)
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



pgsql-odbc by date

Next:From: Jean-Michel POUREDate: 2002-02-12 09:02:07
Subject: Re: Unicode support
Previous:From: Hiroshi InoueDate: 2002-02-12 00:45:42
Subject: Re: Unicode support

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