Where did we leave this?
> Hi all,
> This patch allows ALTER TABLE/DROP CONSTRAINT to drop UNIQUE constraints by
> dropping the relevant index.
> This is a prelim patch that I need comment on (The @@ comments), and I've
> edited some things out by hand, so I don't recommend applying it to anything
> just yet.
> I have added an IsIndex function to indexcmds.c and a RemoveUniqueConstraint
> to heap.c, plus modified command.c's AlterTableDropConstraint function to
> call RemoveUniqueConstraint.
> Note that I have disabled inheritance support for unique constraints - since
> it's impossible to have two indices of the same name anyway...
> Comments please.
[ Attachment, skipping... ]
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
In response to
pgsql-patches by date
|Next:||From: Mikhail Terekhov||Date: 2001-08-24 18:25:34|
|Subject: Re: [HACKERS] Re: WIN32 errno patch|
|Previous:||From: pgsql-bugs||Date: 2001-08-24 17:20:00|
|Subject: Bug #428: Another security issue with the JDBC driver.|