Re: Avoid FK validations for no-rewrite ALTER TABLE ALTER TYPE - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Avoid FK validations for no-rewrite ALTER TABLE ALTER TYPE
Date
Msg-id 1330381140-sup-6177@alvh.no-ip.org
Whole thread Raw
In response to Re: Avoid FK validations for no-rewrite ALTER TABLE ALTER TYPE  (Noah Misch <noah@leadboat.com>)
List pgsql-hackers
Excerpts from Noah Misch's message of jue ene 26 12:00:49 -0300 2012:
>
> On Wed, Jan 25, 2012 at 10:39:56PM -0500, Noah Misch wrote:
> > In any event, the patch needed a rebase, so I've attached it rebased and with
> > that comment edited to reference ri_GenerateQualCollation(), that being the
> > most-relevant source for the assumption in question.
>
> Commit 9d35116611e6a1fc10f2298944fbf0e4e1a826be invalidated the test case hunks
> again.  We'll need to either remove the test cases, as Robert chose to do for
> that other patch, or bolster them per
> http://archives.postgresql.org/message-id/20120126115536.GD15670%40tornado.leadboat.com

Committed, removing the tests.

I also chose to update catversion, even though I can't figure out how to
make a Constraint node be stored anywhere.  Maybe it's not even
possible, but then I thought maybe I'm just lacking imagination.

Thanks!

--
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Jan Lentfer
Date:
Subject: Re: swapcache-style cache?
Next
From: Tatsuo Ishii
Date:
Subject: Re: How to know a table has been modified?