pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stef <svb@ucs.co.za>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Rod Taylor <rbt@rbt.ca>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-sql@postgresql.org
Subject: Re: [SQL] Table versions
Date: Wed, 29 Oct 2003 17:36:53 +0200
Message-ID: <20031029173653.522c804a.svb@ucs.co.za> (raw)
In-Reply-To: <3731.1067437850@sss.pgh.pa.us>
References: <20031029125752.35069e3b.svb@ucs.co.za>
	<1067435458.99917.34.camel@jester>
	<3731.1067437850@sss.pgh.pa.us>

Thanks guys,

I had a feeling this was the case, but wasn't sure.
The one-version pg_dump looks like a winner.

Regards
Stefan

##START##
=> Rod Taylor <rbt@rbt.ca> writes:
=> >> What I did next, is put a trigger on pg_attribute that should, in theory,
=> >> on insert and update, fire up a function that will increment a version
=> 
=> > System tables do not use the same process for row insertion / updates as
=> > the rest of the system. You're trigger will rarely be fired.
=> 
=> s/rarely/never/.  We do not support triggers on system catalogs.  The
=> system should have done its best to prevent you from creating one ...
=> I suppose you had to hack around with a "postgres -O" standalone backend?
=> 
=> Returning to the original problem, it seems to me that comparing "pg_dump
=> -s" output is a reasonable way to proceed.  The problem of inconsistent
=> output format across pg_dump versions is a red herring --- just use a
=> single pg_dump version (the one for your newest server) for all the
=> dumps.  Recent pg_dump versions still talk to older servers, back to 7.0
=> or thereabouts.
=> 
=> 			regards, tom lane
=> 

view thread (7+ messages)  latest in thread

Message-ID: <20031029173653.522c804a.svb@ucs.co.za>
Permalink:  ../20031029173653.522c804a.svb@ucs.co.za/
Also on:    postgresql.org/message-id/20031029173653.522c804a.svb@ucs.co.za

 · 

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: pgsql-sql@postgresql.org
  Cc: svb@ucs.co.za, tgl@sss.pgh.pa.us, rbt@rbt.ca, pgsql-admin@postgresql.org
  Subject: Re: [SQL] Table versions
  In-Reply-To: <20031029173653.522c804a.svb@ucs.co.za>

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

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