Re: Patch for ALTER TABLE / TYPE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: NAKANO Yoshihisa <nakano(dot)yosihisa(at)jp(dot)fujitsu(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Patch for ALTER TABLE / TYPE
Date: 2006-01-30 16:20:27
Message-ID: 8266.1138638027@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

NAKANO Yoshihisa <nakano(dot)yosihisa(at)jp(dot)fujitsu(dot)com> writes:
> Tom Lane wrote:
>> After looking at the test case a bit, I have an alternate approach:
>> constraints on the column will have DEPENDENCY_AUTO type, while
>> constraints using the column will have DEPENDENCY_NORMAL type.

> O.K. It seems nicer than my solution.

> Please find the patch attached. I fixed the patch to decide the order
> of the list by deptype of the pg_depend record.

Patch applied with some minor comment improvements. Thanks!

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Robert Treat 2006-01-30 16:32:23 Re: Want to add to contrib.... xmldbx
Previous Message Christopher Kings-Lynne 2006-01-30 14:01:58 Re: Want to add to contrib.... xmldbx