pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Hasler <john@dhh.gt.org>
To: pgsql-sql@postgresql.org
Subject: Re: [GENERAL] CURRENT_TIMESTAMP
Date: 24 Sep 2002 10:27:01 -0500
Message-ID: <87r8fj8l2y.fsf@toncho.dhh.gt.org> (raw)
In-Reply-To: <web-1658838@davinci.ethosmedia.com>
References: <web-1658838@davinci.ethosmedia.com>

Josh Berkus writes:
> now() or now('transaction') returns the transaction timestamp.
> now('statement') returns the statement timestamp now('immediate') returns
> the timestamp at the exact time the function is called.

I like that.

IMHO "the exact time the function is called" is what most people would
expect to get from now(), but it's too late for that.
-- 
John Hasler
john@dhh.gt.org
Dancing Horse Hill
Elmwood, Wisconsin



view thread (61+ messages)  latest in thread

Message-ID: <87r8fj8l2y.fsf@toncho.dhh.gt.org>
Permalink:  ../87r8fj8l2y.fsf@toncho.dhh.gt.org/
Also on:    postgresql.org/message-id/87r8fj8l2y.fsf@toncho.dhh.gt.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: john@dhh.gt.org
  Subject: Re: [GENERAL] CURRENT_TIMESTAMP
  In-Reply-To: <87r8fj8l2y.fsf@toncho.dhh.gt.org>

* 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