Received: from candle.pha.pa.us (candle.navpoint.com [162.33.245.46]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fAE1cim61853 for ; Tue, 13 Nov 2001 20:38:44 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.10.1) id fAE1cfC10668 for pgsql-docs@postgresql.org; Tue, 13 Nov 2001 20:38:41 -0500 (EST) From: Bruce Momjian Message-Id: <200111140138.fAE1cfC10668@candle.pha.pa.us> Subject: Use of 'now' To: PostgreSQL-documentation Date: Tue, 13 Nov 2001 20:38:41 -0500 (EST) X-Mailer: ELM [version 2.4ME+ PL90 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200111/23 X-Sequence-Number: 1096 Tatsuo found the following paragraph in the docs, in datatype.sgml: --------------------------------------------------------------------------- 'now' is resolved when the value is inserted, 'current' is resolved every time the value is retrieved. So you probably want to use 'now' in most applications. (Of course you really want to use CURRENT_TIMESTAMP, which is equivalent to 'now'.) --------------------------------------------------------------------------- This seems wrong to me. What does it mean when it says 'current' is resolved every time the value is retrieved? Also, we mention 'now' a lot in the documentation. Should we change those to CURRENT_TIMESTAMP? I have change that in the FAQ. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026