X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 20BFFD1B549 for ; Mon, 29 Sep 2003 18:16:19 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 40058-07 for ; Mon, 29 Sep 2003 15:15:49 -0300 (ADT) Received: from serwer.skawsoft.com.pl (serwer.skawsoft.com.pl [213.25.37.66]) by svr1.postgresql.org (Postfix) with ESMTP id 0EFD9D1B564 for ; Mon, 29 Sep 2003 15:15:48 -0300 (ADT) Received: from klaster.net (core-1.citynet.pl [80.48.135.69]) by serwer.skawsoft.com.pl (Postfix) with ESMTP id AA3A32B3D7; Mon, 29 Sep 2003 20:15:02 +0200 (CEST) Message-ID: <3F7876A8.4050409@klaster.net> Date: Mon, 29 Sep 2003 20:15:04 +0200 From: Tomasz Myrta User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; pl-PL; rv:1.5) Gecko/20030916 X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: The Guardian Cc: pgsql-sql@postgresql.org Subject: Re: Problems to be solved as soon as possible References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/407 X-Sequence-Number: 15385 > Dear Support Team, > We are hosting a website which was originally designed in some version of > Debian Linux and having PostgreSQL as back end. The developers have made a > script which creates several tables in the database. Some of the tables have > datatypes like DateTime. When i run those scripts in PostgreSQL of Red hat > Linux 7.2, they run perfectly. But when i run the same scrips in PostgreSQL > of Redhat Linux 9.0, it displays an error message of "data type DATETIME not > found." > So can you please guide me what changes i have to make in the script of > creating tables at my end as a customer so that my application runs > smoothly. It looks like Postgresql problem, not a Redhat problem. Probably datetime is some not longer supported datatype. General date and time datatype is "timestamp". Try to change your "datetime" to "timestamp" - it should help. Anyway, what versions your Postgresql rpm's have? Regards, Tomasz Myrta