From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Stef <svb(at)ucs(dot)co(dot)za> |
Cc: | Rod Taylor <rbt(at)rbt(dot)ca>, pgsql-admin(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: [SQL] Table versions |
Date: | 2003-10-29 14:30:50 |
Message-ID: | 3731.1067437850@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-sql |
Rod Taylor <rbt(at)rbt(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Stef | 2003-10-29 15:36:53 | Re: [SQL] Table versions |
Previous Message | Rod Taylor | 2003-10-29 13:50:58 | Re: Table versions |
From | Date | Subject | |
---|---|---|---|
Next Message | Gary Stainburn | 2003-10-29 14:37:15 | update from select |
Previous Message | Rod Taylor | 2003-10-29 13:50:58 | Re: Table versions |