Re: Doc patch: Document names of automatically created constraints and indexes

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Doc patch: Document names of automatically created constraints and indexes
Дата
Msg-id CA+TgmoZYqR5+ATsbXbfd1bXd711ATVTbKr+nvxjiLPuBTE0+WQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Doc patch: Document names of automatically created constraints and indexes  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Doc patch: Document names of automatically created constraints and indexes  ("Karl O. Pinc" <kop@meme.com>)
Re: Doc patch: Document names of automatically created constraints and indexes  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Sat, Nov 17, 2012 at 1:22 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
> On Mon, 2012-11-12 at 11:42 -0600, Karl O. Pinc wrote:
>> Could ALTER TABLE use an option to drop the
>> primary key constraint?  I needed to do that,
>> found it was not obvious, and this lead me to
>> try to improve things.
>
> That could be useful, I think.  But it might open a can of worms.

Would the new option be syntactic sugar around ALTER TABLE ... DROP
CONSTRAINT "put_the_name_of_the_primary_key_here"?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [PATCH] binary heap implementation
Следующее
От: Andrew Dunstan
Дата:
Сообщение: WIP json generation enhancements