Re: [NOVICE] alter existing table column with primary key to auto-increment

Поиск
Список
Период
Сортировка
От Rounak Jain
Тема Re: [NOVICE] alter existing table column with primary key to auto-increment
Дата
Msg-id CANNuxWMwOVmX7rNZvY=iKCK1LdJ1FigM8vC5kioLxOZQCSiKXQ@mail.gmail.com
обсуждение исходный текст
Ответ на [NOVICE] alter existing table column with primary key to auto-increment  (Rounak Jain <rounakjainis@gmail.com>)
Список pgsql-novice
alter table customer add column id serial primary key;
I want to know how to alter the column instead of dropping it.



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

Предыдущее
От: Rounak Jain
Дата:
Сообщение: [NOVICE] alter existing table column with primary key to auto-increment
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [NOVICE] alter existing table column with primary key to auto-increment