Re: DROP CONSTRAINT (UNIQUE) preliminary support

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: DROP CONSTRAINT (UNIQUE) preliminary support
Дата
Msg-id 200107091845.f69Ij4a09490@candle.pha.pa.us
обсуждение исходный текст
Ответ на DROP CONSTRAINT (UNIQUE) preliminary support  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Ответы RE: DROP CONSTRAINT (UNIQUE) preliminary support  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список pgsql-patches
Christopher, where are we on this patch?


> 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.
>
> Chris

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-patches по дате отправления:

Предыдущее
От: Justin Clift
Дата:
Сообщение: Re: [PATCH] Patch to make pg_hba.conf handle virtualhost access control and samehost keyword
Следующее
От: Joseph Shraibman
Дата:
Сообщение: Re: [JDBC] Re: Patch to remove connection hook and JDK 1.3 depen