Re: Is this a bug? Deleting a column deletes the constraint.
В списке pgsql-sql по дате отправления:
| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера