Received: from golem.fourpalms.org (fourpalms.org [64.3.68.148]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fAEEB2m24249 for ; Wed, 14 Nov 2001 09:11:02 -0500 (EST) (envelope-from lockhart@fourpalms.org) Received: from fourpalms.org (localhost.localdomain [127.0.0.1]) by golem.fourpalms.org (Postfix) with ESMTP id 761FBFEC2; Wed, 14 Nov 2001 14:11:05 +0000 (UTC) Message-ID: <3BF27B79.3F28F6D3@fourpalms.org> Date: Wed, 14 Nov 2001 14:11:05 +0000 From: Thomas Lockhart Reply-To: lockhart@fourpalms.org Organization: Yes X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17-21mdksmp i686) X-Accept-Language: en MIME-Version: 1.0 To: Vince Vielhaber Cc: Bruce Momjian , Tom Lane , PostgreSQL-documentation Subject: Re: Use of 'now' References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200111/34 X-Sequence-Number: 1107 ... > template1=# insert into dd (y) values (1); > template1=# select * from dd; > x | y > ---------+--- > current | 1 > Must be since 7.0.3? Prior to 7.2 (and up to two months ago -- ?? haven't checked the dates) 'current' was stored as a special value. It was only evaluated as the current transaction time when math or some other transformation was involved. The feature dates from sometime after 1987 and sometime before 1995 (back when gods roamed the earth, etc etc). Regarding the TIME data type: there was never a reserved value defined for that type, so the feature was never available for it. Since 'current' and 'now' are synonymous, it is a one-liner to add recognition of 'current' to that type. I've got patches... - Thomas