From: | Peter Fein <pfein(at)pobox(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Version Control? |
Date: | 2005-06-11 16:31:02 |
Message-ID: | 42AB11C6.4080202@pobox.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Peter Fein wrote:
> As an uninformed, off-the-wall idea, could one compare snapshots of the
> system tables to generate these diffs? I know next-to-nothing about
> these, but it seems like they'd contain the info you'd need.
Here's another nutty idea: Could one create a (carefully designed) audit
table on the system tables themselves? You'd need to exclude irrelevant
stuff (stats or whatever) & I'd have no idea about performance impact.
Dumping & transforming the audit would basically give you a script that
runs through all the actions done to a schema. I'm not 100% how to use
this for an update script though. I'm not sure a straight diff of
actions will work - it seems like the results may be order dependent in
some cases and you might need to infer undos. Anyway, it's interesting...
--
Peter Fein pfein(at)pobox(dot)com 773-575-0694
Basically, if you're not a utopianist, you're a schmuck. -J. Feldman
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-06-11 16:54:12 | Re: CPU-intensive autovacuuming |
Previous Message | Joshua D. Drake | 2005-06-11 14:30:48 | Re: tsearch2 and a database with texts in different languages? |