pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: alexandre :: aldeia digital <alepaes@aldeiadigital.com.br>
To: pgsql-odbc@postgresql.org
Subject: Re: Datetime and pgtypes.c
Date: Tue, 3 Dec 2002 10:35:44 -0200 (BRST)
Message-ID: <1196.200.225.213.129.1038918944.squirrel@webmail.ad2.com.br> (raw)
In-Reply-To: <3DEBFD73.281730C7@tpf.co.jp>
References: <1398.192.168.1.101.1038854873.squirrel@webmail.aldeiadigital.com.br>
	<3DEBFD73.281730C7@tpf.co.jp>

Hi,

First, the correct is ´timestamp with time zone´ and not
'timestamp without timezone'... Sorry.

I have a lot of CREATE scripts using ´datetime´
correctly in PG <= 7.2.3...PG convert automaticaly
to ´timestamp with time zone´.
But I can´t change the ´datetime´ in these scripts and
PG 7.3 remove this type.
If I send a "create foo (foo datetime)", PG 7.3 reports
´datetime´ does not exist. I only execute this statments
in win-odbc and not directly in psql.

Can ODBC convert automatically ´datetime´
to timestamp with time zone' or I have to create this type in PG 7.3
to convert it ?

Very thank´s, Mr. Hiroshi.


> alexandre :: aldeia digital wrote:
>>
>> Mr. Hiroshi and all,
>>
>> Sorry for report this bug again...The ODBC does not
>> convert 'datetime' type to 'timestamp without timezone'
>> for PostgreSQL 7.3
>
> How do you convert the 'datetime' type concretely ?
> Is the converted type still 'datetime' or 'timestamp with
> time zone' ? Note that 'datetime' is never converted to
> 'timetstamp without time zone'.
>
> regards,
> Hiroshi Inoue
> 	http://w2422.nsk.ne.jp/~inoue/






view thread (4+ messages)  latest in thread

Message-ID: <1196.200.225.213.129.1038918944.squirrel@webmail.ad2.com.br>
Permalink:  ../1196.200.225.213.129.1038918944.squirrel@webmail.ad2.com.br/
Also on:    postgresql.org/message-id/1196.200.225.213.129.1038918944.squirrel@webmail.ad2.com.br

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: alepaes@aldeiadigital.com.br
  Subject: Re: Datetime and pgtypes.c
  In-Reply-To: <1196.200.225.213.129.1038918944.squirrel@webmail.ad2.com.br>
  References: <1398.192.168.1.101.1038854873.squirrel@webmail.aldeiadigital.com.br> <3DEBFD73.281730C7@tpf.co.jp> <1196.200.225.213.129.1038918944.squirrel@webmail.ad2.com.br>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox