Re: Doc patch: Document names of automatically created constraints and indexes - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Doc patch: Document names of automatically created constraints and indexes
Date
Msg-id 1353798161.4992.3.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Doc patch: Document names of automatically created constraints and indexes  ("Karl O. Pinc" <kop@meme.com>)
List pgsql-hackers
On Wed, 2012-11-21 at 23:56 -0600, Karl O. Pinc wrote:
> No, wait.   If constraint "name_of_primary_key" is an internal
> and is to change over time, how do you deal with dropping,
> now, a primary key constraint that was created, then, before
> some change to the internal name.  And you wouldn't want
> to accidentally remove a user-created constraint
> that just happened to have the same name as the internal
> primary key constraint name, especially in the case
> where there's a real primary key constraint created
> under an old naming convention.

Internally, dependencies are tracked by OID, not by name, so this isn't
a problem.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Doc patch: Document names of automatically created constraints and indexes
Next
From: Amit kapila
Date:
Subject: Re: Proposal for Allow postgresql.conf values to be changed via SQL