Re: Bad timestamp external representation - Mailing list pgsql-general

From Stephan Szabo
Subject Re: Bad timestamp external representation
Date
Msg-id 20030428150719.O14646-100000@megazone23.bigpanda.com
Whole thread Raw
In response to Bad timestamp external representation  (Mark Tessier <m_tessier@sympatico.ca>)
Responses Re: Bad timestamp external representation
List pgsql-general
On Mon, 28 Apr 2003, Mark Tessier wrote:

> When I try to insert with the "current" constant, as in:
>
> herboris=> INSERT INTO cart (cartid, clientid, invdate, paydate) VALUES
> herboris-> (4469858, 2, 'current_timestamp', 'now');
>
> I get the following message:
>
> ERROR:  Bad date external representation 'current_timestamp'

current_timestamp shouldn't be quoted AFAIK.  It's trying to read the
string current_timestamp as a date value.


pgsql-general by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: > 16TB worth of data question
Next
From: ed despard
Date:
Subject: adding times togeather