From: Tomasz Myrta <jasiek@klaster.net>
To: The Guardian <theguardian@vsnl.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: Problems to be solved as soon as possible
Date: Mon, 29 Sep 2003 20:15:04 +0200
Message-ID: <3F7876A8.4050409@klaster.net> (raw)
In-Reply-To: <EBEDKBEGBLEDODHNFHBLMEFOCAAA.theguardian@vsnl.net>
References: <EBEDKBEGBLEDODHNFHBLMEFOCAAA.theguardian@vsnl.net>
> 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
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: jasiek@klaster.net, theguardian@vsnl.net
Subject: Re: Problems to be solved as soon as possible
In-Reply-To: <3F7876A8.4050409@klaster.net>
* 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