X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id ED3B7D1B750 for ; Fri, 18 Jun 2004 15:29:19 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 26926-04 for ; Fri, 18 Jun 2004 18:29:17 +0000 (GMT) Received: from srv02.shieldhost.com (srv02.shieldhost.com [66.98.168.13]) by svr1.postgresql.org (Postfix) with ESMTP id B8A34D1B3A8 for ; Fri, 18 Jun 2004 15:29:14 -0300 (ADT) Received: from DellLaptopDG (out.jobflash.com [64.62.211.38] (may be forged)) (authenticated (0 bits)) by srv02.shieldhost.com (8.11.6/8.11.6) with ESMTP id i5IIY7q27025 for ; Fri, 18 Jun 2004 13:34:07 -0500 From: "David B" To: Subject: In 7.4 ensure you have DEFAULT now () with no spaces Date: Fri, 18 Jun 2004 11:29:38 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200406/159 X-Sequence-Number: 18104 Just a heads up folks... In converting from 7.3 to 7.4 one got-ya we had was... We had been testing 7.4 for a few days and just noticed that some tables had created_timestamp rows with a date/time of the date the DB was created...not the date/time the insert was done. Looking at those tables the create DDL's for those few tables contained now () as in: created_timestamp timestamp DEFAULT now () -- note the space between now and () Most had correctly been defined without the space - as in now() Simple matter of doing ALTER TABLE x ALTER COLUMN y SET DEFAULT now() while still in 7.3 to fix. 7.4 Migration documentation does mentions this but it can easily slip by as it did with us... --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.704 / Virus Database: 460 - Release Date: 6/12/2004