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 59B42D1B53B for ; Wed, 22 Oct 2003 09:31:40 +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 74768-03 for ; Wed, 22 Oct 2003 06:31:11 -0300 (ADT) Received: from anchor-post-35.mail.demon.net (anchor-post-35.mail.demon.net [194.217.242.85]) by svr1.postgresql.org (Postfix) with ESMTP id B6B59D1B4F2 for ; Wed, 22 Oct 2003 06:31:03 -0300 (ADT) Received: from mwynhau.demon.co.uk ([193.237.186.96] helo=mainbox.archonet.com) by anchor-post-35.mail.demon.net with esmtp (Exim 3.35 #1) id 1ACFKZ-0000OQ-0Z; Wed, 22 Oct 2003 10:31:03 +0100 Received: from localhost (localhost.localdomain [127.0.0.1]) by mainbox.archonet.com (Postfix) with ESMTP id 9C37C16768; Wed, 22 Oct 2003 10:30:54 +0100 (BST) Received: from client17.archonet.com (client17.archonet.com [192.168.1.17]) by mainbox.archonet.com (Postfix) with ESMTP id D85C816272; Wed, 22 Oct 2003 10:30:53 +0100 (BST) From: Richard Huxton To: Neil Conway , Bruce Momjian Subject: Automatic compat checking? (was 7.4 compatibility question) Date: Wed, 22 Oct 2003 10:30:52 +0100 User-Agent: KMail/1.5 Cc: Christopher Kings-Lynne , Tom Lane , PostgreSQL Hackers References: <200310220508.h9M584f23271@candle.pha.pa.us> <1066804676.371.92.camel@tokyo> In-Reply-To: <1066804676.371.92.camel@tokyo> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310221030.52736.dev@archonet.com> X-Virus-Scanned: by AMaViS snapshot-20020531 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/1024 X-Sequence-Number: 45706 On Wednesday 22 October 2003 07:37, Neil Conway wrote: > The second audience is the people who are really interested in exactly > what has changed between the new release of PostgreSQL and the previous > release series. It is important that we make it easy for an admin > planning a PostgreSQL upgrade at a fairly large site to be able to see > what changes in PostgreSQL have been made, and what changes will be > necessary in their own applications. Something I was pondering the other day was whether a pg_compat_chk utility would be practical/desirable. You run it against your existing database / schema dump and it prints a set of warnings: Old version = 7.2.1 New version = 7.4.0 Warning: schema support introduced (v7.3) all objects will be placed in the default schema Failure: DEFAULT 'now' not supported (v7.4) table1.column2 table2.column3 Notice: timestamp now holds milliseconds by default (v7.3) tableX.whatever My main concern would be that a 90% solution might be worse than nothing at all. Incidentally, this is not idle speculation, but something I might well have time to stick in gborg during the 7.5 devt cycle. -- Richard Huxton Archonet Ltd