RE: Updating system catalogs after a tuple deletion - Mailing list pgsql-hackers

From Philip Warner
Subject RE: Updating system catalogs after a tuple deletion
Date
Msg-id 3.0.5.32.20010515132655.02540160@mail.rhyme.com.au
Whole thread Raw
In response to Updating system catalogs after a tuple deletion  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-hackers
At 19:50 14/05/01 -0700, Stephan Szabo wrote:
>
>If it's $2 in the parent,
>but the child already has a $2 defined, what should be done?  The
>reason this affects drop constraint is knowing what to drop in the
>child.  If you drop $2 on the parent, what constraint(s) on the child
>get dropped?

AFAIK, it is not possible to derive this. pg_dump makes the assumption that
if the constraint source is the same, and both names start with '$', then
it is inherited.


----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.B.N. 75 008 659 498)          |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|                                |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/


pgsql-hackers by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: RE: Updating system catalogs after a tuple deletion
Next
From: Tom Lane
Date:
Subject: Re: Updating system catalogs after a tuple deletion