From: Petter Reinholdtsen <pere@td.org.uit.no>
To: pgsql-sql@postgresql.org
Cc: kenrsc@games.no
Subject: Re: [SQL] Problems with default date 'now'
Date: Wed, 10 Jun 1998 13:43:25 +0200
Message-ID: <199806101143.NAA11630@sleeper.games.no> (raw)
> replace your field definition with this one:
>
> received_date DATE DEFAULT CURRENT_DATE
>
> it works fine.
Nope, that did not work.
I get this reply from psql:
WARN:parser: parse error at or near "current_date"
What is wrong. Is this something new in PostgreSQL after v6.2.1?
I don't follow the SQL mailinglist, so please send me a copy when you
reply.
--
##> Petter Reinholdtsen <## | pere@td.org.uit.no
O- <SCRIPT Language="Javascript">window.close()</SCRIPT>
http://www.hungry.com/~pere/ | Go Mozilla, go! Go!
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: pere@td.org.uit.no, kenrsc@games.no
Subject: Re: [SQL] Problems with default date 'now'
In-Reply-To: <199806101143.NAA11630@sleeper.games.no>
References: <199806101143.NAA11630@sleeper.games.no>
* 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