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 8192FD1B4E6 for ; Mon, 29 Sep 2003 19:12:46 +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 49895-04 for ; Mon, 29 Sep 2003 16:12:19 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 8C10AD1B523 for ; Mon, 29 Sep 2003 16:12:17 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h8TJCE6c027580; Mon, 29 Sep 2003 15:12:14 -0400 (EDT) To: Tomasz Myrta Cc: The Guardian , pgsql-sql@postgresql.org Subject: Re: Problems to be solved as soon as possible In-reply-to: <3F7876A8.4050409@klaster.net> References: <3F7876A8.4050409@klaster.net> Comments: In-reply-to Tomasz Myrta message dated "Mon, 29 Sep 2003 20:15:04 +0200" Date: Mon, 29 Sep 2003 15:12:14 -0400 Message-ID: <27579.1064862734@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/410 X-Sequence-Number: 15388 Tomasz Myrta writes: >> 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." > It looks like Postgresql problem, not a Redhat problem. Probably > datetime is some not longer supported datatype. Yes, "datetime" is an ancient name for what we now call by the SQL-standard name "timestamp with time zone". If changing to the standard name makes for too many changes in your application code, you could use a domain as a kind of type alias: create domain datetime as timestamp with time zone; regards, tom lane