Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
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.



Neil Conway <neilconway(at)rogers(dot)com>

In response to

pgsql-patches by date

Next:From: Neil ConwayDate: 2002-02-20 04:56:02
Subject: Re: simple code cleanups
Previous:From: Stephan SzaboDate: 2002-02-20 02:19:22
Subject: Re: simple code cleanups

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group