Re: [GENERAL] How to enumerate foreign key constraints after - Mailing list pgsql-hackers

From Rod Taylor
Subject Re: [GENERAL] How to enumerate foreign key constraints after
Date
Msg-id 1055361674.49179.3.camel@jester
Whole thread Raw
In response to Re: [GENERAL] How to enumerate foreign key constraints after migrating from 7.1.3?  (Forest Wilkinson <lyris-pg@tibit.com>)
List pgsql-hackers
> >Yes, a combination of the two would probably be better.  You would need
> >to be careful about function call names for FKeys, there are a fair
> >number of them.  Checking for 3 triggers with the function name starting
> >with RI_FKey* would probably be better.
>
> Will the tgisconstraint flag always be set for these triggers?  Will
> the function names still be RI_FKey* once these databases are migrated
> to postgres 7.4 or later?

Until someone has a good reason to change things, they'll probably stay
the same, so you will probably get a release or two out of it.

But it is much easier to change the internal structures now, as
PostgreSQL doesn't have nearly as much of a backward compatibility issue
anymore.

--
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Please, apply patch for current CVS
Next
From: Tom Lane
Date:
Subject: Re: Pre-allocation of shared memory ...