Re: Could not create a table named "USER" under postgreSQL

From: "gnari" <gnari(at)simnet(dot)is>
To: "Ying Lu" <ying_lu(at)cs(dot)concordia(dot)ca>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Could not create a table named "USER" under postgreSQL
Date: 2004-08-18 18:53:56
Message-ID: 004801c48554$b711a330$0100000a@wp2000
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ying Lu" <ying_lu(at)cs(dot)concordia(dot)ca> wrote:
>
> I have a question about "date" & "timestamp" types in PostgreSQL. I want
> to setup the default value '0000-00-00' and "0000-00-00 00:00:00" for
> them. However, it seems that PostgreSQL does not support it. Could
> someone helps me please?

if you want to store invalid dates and timestamps, you
are better off using varchar.

if you just want to store a null-value, use NULL

does mysql really allow you to store these values?

gnari

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robert Treat 2004-08-18 19:00:14 Re: (S)RPMS for 7.4.4 released.
Previous Message Dann Corbit 2004-08-18 18:52:41 Re: Could not create a table named "USER" under postgreSQL