Re: [DOCS] Use of 'now' - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [DOCS] Use of 'now'
Date
Msg-id Pine.LNX.4.30.0111151535120.633-100000@peter.localdomain
Whole thread Raw
Responses Re: [DOCS] Use of 'now'
List pgsql-hackers
Thomas Lockhart writes:

> Previous versions of PostgreSQL can and will generate dump files which
> have 'current'. I did make it equivalent to 'now' for at least the 7.2
> series of releases.

I don't think this is a good idea.  If someone really relied on 'current'
for his application, substituting 'now' for it is not going to make things
better.  If it's done silently it will definitely make things worse.

If that someone replays his dump and sees "invalid date/time value
'current'" then he knows he's got something to fix -- and he has to fix
something anyway.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Call for objections: revision of keyword classification
Next
From: Tom Lane
Date:
Subject: Re: Call for objections: revision of keyword classification