Re: simple code cleanups - Mailing list pgsql-patches

From Neil Conway
Subject Re: simple code cleanups
Date
Msg-id 1014172637.470.19.camel@jiro
Whole thread Raw
In response to Re: simple code cleanups  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-patches
On Tue, 2002-02-19 at 21:19, Stephan Szabo wrote:
> You have to be careful about changing the RI constraints to use oids
> because you'll need to support restores from systems where the constraint
> was dumped with names, so you can't simply make it take oids only.  In
> addition, the triggers should probably take attnos for the attributes
> rather than names.  I'd been figuring on making new functions that took
> oids/attnos and changing dumping so that over time the old functions would
> eventually stop being used (such as using alter table to dump the
> constraints) and internally have the old functions end up being wrappers
> around the new ones.

Ah, I see. This is more complicated than I originally thought...

> I'd been planning to start doing a bunch of work on the trigger functions
> now that 7.3 development's started.  I was hoping to put together a high
> level plan of attack for hackers this week to see what the response was.

I'm happy to leave this to you; I'll wait for the plan on -hackers and
see if I can lend a hand then.

Cheers,

Neil

--
Neil Conway <neilconway@rogers.com>
PGP Key ID: DB3C29FC


pgsql-patches by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: simple code cleanups
Next
From: Neil Conway
Date:
Subject: Re: simple code cleanups