X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id E4560D1B4ED for ; Wed, 22 Oct 2003 04:32:12 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 18243-05 for ; Wed, 22 Oct 2003 01:31:41 -0300 (ADT) Received: from candle.pha.pa.us (momjian.navpoint.com [207.106.42.251]) by svr1.postgresql.org (Postfix) with ESMTP id 2184FD1B4EC for ; Wed, 22 Oct 2003 01:31:40 -0300 (ADT) Received: (from pgman@localhost) by candle.pha.pa.us (8.11.6/8.11.6) id h9M4VXl20009; Wed, 22 Oct 2003 00:31:33 -0400 (EDT) From: Bruce Momjian Message-Id: <200310220431.h9M4VXl20009@candle.pha.pa.us> Subject: Re: 7.4 compatibility question In-Reply-To: <8468.1066796494@sss.pgh.pa.us> To: Tom Lane Date: Wed, 22 Oct 2003 00:31:33 -0400 (EDT) Cc: Christopher Kings-Lynne , Hackers X-Mailer: ELM [version 2.4ME+ PL108 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/1010 X-Sequence-Number: 45692 Tom Lane wrote: > Christopher Kings-Lynne writes: > >>> Now that DEFAULT 'now' will not work in PostgreSQL 7.4, will DEFAULT > >>> 'infinity' and DEFAULT '-infinity' and the like stop working as well? > >> > >> No, because those values don't change over time. The issue here is when > >> exactly does the default value get evaluated... > > > Ah, of course - but what about 'yesterday' and 'tomorrow' - these should > > also be mentioned in the release notes. > > Good point ... not that I think anyone is actually using such a default > in the field, but the behavior did change ... It would be pretty strange to use those as a default --- I am not inclined to mention it in the release notes --- we don't mention every change, only significant ones. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073