Re: Avoid FK validations for no-rewrite ALTER TABLE ALTER TYPE

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Noah Misch <noah(at)leadboat(dot)com>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Avoid FK validations for no-rewrite ALTER TABLE ALTER TYPE
Date: 2012-02-27 22:21:04
Message-ID: 1330381140-sup-6177@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2012-02-27 22:49:04 Re: How to know a table has been modified?
Previous Message Miroslav Šimulčík 2012-02-27 21:50:03 Re: default values in inheritance hierarchies