Re: How to setup default value "0000-00-00" for "date" type under PostgreSQL?

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to setup default value "0000-00-00" for "date" type under PostgreSQL?
Date: 2004-08-20 06:33:11
Message-ID: 20040820083311.D598@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I really
> want to know how I can save '0000-00-00' as the default value for "date"
> and "timestamp" types.
You can not. They are invalid dates.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Christian Kratzer 2004-08-20 06:58:26 Re: How to setup default value "0000-00-00" for "date"
Previous Message Hunter Hillegas 2004-08-20 04:59:23 Re: Postgres and JBOSS