Re: Bug or Feature?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bug or Feature?
Дата
Msg-id 10796.1076401749@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Bug or Feature?  ("Herbert R. Ambos" <hrambos@transco.ph>)
Список pgsql-sql
"Herbert R. Ambos" <hrambos@transco.ph> writes:
> [ drops only column of a table ]

> Is this allowed in SQL?

The SQL spec forbids that.  We deliberately decided to ignore the spec
restriction, because it creates too many unpleasant boundary cases for
tools that want to manipulate table definitions.  "DROP COLUMN foo"
shouldn't depend on whether there are other columns besides foo.

In short, yes, it's a feature.
        regards, tom lane


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

Предыдущее
От: "Kumar"
Дата:
Сообщение: Error in declaring %rowtype for recurrence
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Error in declaring %rowtype for recurrence