Re: simple code cleanups

From: Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>
To: pgsql-patches(at)postgresql(dot)org
Subject: Re: simple code cleanups
Date: 2002-02-20 02:37:17
Message-ID: 1014172637.470.19.camel@jiro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)rogers(dot)com>
PGP Key ID: DB3C29FC

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2002-02-20 04:56:02 Re: simple code cleanups
Previous Message Stephan Szabo 2002-02-20 02:19:22 Re: simple code cleanups