Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B34D0475CC4 for ; Tue, 3 Dec 2002 07:37:49 -0500 (EST) Received: from spirit.aldeiadigital.com.br (iplus-fac-138.xdsl-fixo.ctbcnetsuper.com.br [200.225.213.138]) by postgresql.org (Postfix) with ESMTP id D3D1B475AD4 for ; Tue, 3 Dec 2002 07:37:46 -0500 (EST) Received: from aldeiadigital.com.br (localhost.localdomain [127.0.0.1]) by spirit.aldeiadigital.com.br (8.11.6/8.11.4) with SMTP id gB3CZi128249 for ; Tue, 3 Dec 2002 10:35:44 -0200 Received: from 200.225.213.129 (SquirrelMail authenticated user alepaes) by webmail.ad2.com.br with HTTP; Tue, 3 Dec 2002 10:35:44 -0200 (BRST) Message-ID: <1196.200.225.213.129.1038918944.squirrel@webmail.ad2.com.br> Date: Tue, 3 Dec 2002 10:35:44 -0200 (BRST) Subject: Re: Datetime and pgtypes.c From: "alexandre :: aldeia digital" To: 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> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal X-Mailer: SquirrelMail (version 1.2.7) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/14 X-Sequence-Number: 2403 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/