CREATE TABLE AS ...

Поиск
Список
Период
Сортировка
От Raphael Bauduin
Тема CREATE TABLE AS ...
Дата
Msg-id 20020723134512.GA22069@raphael
обсуждение исходный текст
Список pgsql-admin
Hi,

In a data model change, I wanted to use the "create table as select"
feature. However, I want that table to have a primary key defined, and
thus a field defined as NOT NULL. I didn't find a way to add a NOT NULL
constraint on a column of an existing table. If there isn't, what's the
best way to go? A COPY?

Thanks.

Raph

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

Предыдущее
От: "Michael G. Martin"
Дата:
Сообщение: Re: Postgres performance slowly gets worse over a month
Следующее
От: Raphael Bauduin
Дата:
Сообщение: Re: CREATE TABLE AS ...