Re: Clarify use of NOW() in pl/pgsql docs - Mailing list pgsql-patches

From Michael Glaesemann
Subject Re: Clarify use of NOW() in pl/pgsql docs
Date
Msg-id 4759ec048fa2cb2accaaf0621ac6765e@myrealbox.com
Whole thread Raw
In response to Re: Clarify use of NOW() in pl/pgsql docs  (Neil Conway <neilc@samurai.com>)
Responses Re: Clarify use of NOW() in pl/pgsql docs  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
On Feb 10, 2005, at 14:00, Neil Conway wrote:

> On Thu, 2005-01-27 at 02:28 -0800, David Fetter wrote:
>> This one from Ben Calvert.  It uses the (imho clearer) NOW() rather
>> than 'NOW' in a PL/PgSQL function example.
>
> Applied, thanks.

I realize it's a bit late, but it might not be a bad idea to use
CURRENT_TIMESTAMP rather than NOW(), as it's per SQL spec.

Michael Glaesemann
grzm myrealbox com


pgsql-patches by date:

Previous
From: Neil Conway
Date:
Subject: Re: WIP: pl/pgsql cleanup
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Clarify use of NOW() in pl/pgsql docs