Re: pgsql-server: Fix oversight in recent ALTER TABLE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql-server: Fix oversight in recent ALTER TABLE
Дата
Msg-id 17572.1086917259@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql-server: Fix oversight in recent ALTER TABLE  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-committers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
>> Fix oversight in recent ALTER TABLE improvements.  We now support
>> ALTER TABLE tab ADD COLUMN col SERIAL, but we forgot to install the
>> dependency between the column and the sequence, so the sequence
>> would not go away if you dropped the table later.

> What if you ALTER TABLE / TYPE SERIAL?

You can't --- it won't recognize the SERIAL alias in that context.

            regards, tom lane

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

Предыдущее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql-server: When using extended-query protocol, postpone planning of
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql-server: Clean up generation of default names