public inbox for [email protected]  
help / color / mirror / Atom feed
From: Richard Huxton <[email protected]>
To: Neil Conway <[email protected]>
To: Bruce Momjian <[email protected]>
Cc: Christopher Kings-Lynne <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: PostgreSQL Hackers <[email protected]>
Subject: Automatic compat checking? (was 7.4 compatibility question)
Date: Wed, 22 Oct 2003 10:30:52 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <1066804676.371.92.camel@tokyo>
References: <[email protected]>
	<1066804676.371.92.camel@tokyo>

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



view thread (61+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Automatic compat checking? (was 7.4 compatibility question)
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox