Re: datetime to timestamp - Mailing list pgsql-odbc

From alexandre :: aldeia digital
Subject Re: datetime to timestamp
Date
Msg-id 1287.192.168.1.101.1041937890.squirrel@webmail.aldeiadigital.com.br
Whole thread Raw
In response to Re: datetime to timestamp  (Hiroshi Inoue <Inoue@tpf.co.jp>)
List pgsql-odbc
The driver does not convert a statment like:

CREATE TABLE FOO (DTAAA datetime)
to
CREATE TABLE FOO (DTAAA timestamp)

Postgre 7.3 remove the datetime type. Use:

 CREATE DOMAIN datetime AS timestamp

in your database (and in template1) to solve this.


Regards,

Alexandre



> Sorry for the
>
> "William S. Bear" wrote:
>>
>> I'm trying to export an access database to postgres 7.3,
>> but get an error that datatype datetime does not exist.
>> Noticed in the docs that 7.3 will not longer support
>> datetime data type.  Will the ODBC driver be converting
>> all datetime datatypes to timestamp in future versions?
>
> Which version of psqlodbc driver are you using ?
> The current driver converts datetime type to timestamp.
>
> regards,
> Hiroshi Inoue
>     http://w2422.nsk.ne.jp/~inoue/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster




pgsql-odbc by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: datetime to timestamp
Next
From: Jeff Eckermann
Date:
Subject: Re: Replacing Oracle 8i