Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group