Re: Is this a bug? Deleting a column deletes the constraint.

Поиск
Список
Период
Сортировка
От Florian Weimer
Тема Re: Is this a bug? Deleting a column deletes the constraint.
Дата
Msg-id 82d58x7bgy.fsf@mid.bfk.de
обсуждение исходный текст
Ответ на Re: Is this a bug? Deleting a column deletes the constraint.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
* Tom Lane:

> The CREATE TABLE reference page further amplifies:
>
>   PostgreSQL allows a table of no columns to be created (for example,
>   CREATE TABLE foo();). This is an extension from the SQL standard, which
>   does not allow zero-column tables. Zero-column tables are not in
>   themselves very useful, but disallowing them creates odd special cases
>   for ALTER TABLE DROP COLUMN, so it seems cleaner to ignore this spec
>   restriction.

And you need the syntax for table partitioning.

-- 
Florian Weimer                <fweimer@bfk.de>
BFK edv-consulting GmbH       http://www.bfk.de/
Durlacher Allee 47            tel: +49-721-96201-1
D-76131 Karlsruhe             fax: +49-721-96201-99


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

Предыдущее
От: Chris Browne
Дата:
Сообщение: Re: Is this a bug? Deleting a column deletes the constraint.
Следующее
От: Gerardo Herzig
Дата:
Сообщение: spliting a row to make several rows