Re: cascade and restrict options to alter domain drop constraint

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: cascade and restrict options to alter domain drop constraint
Дата
Msg-id 28201.1190755438@sss.pgh.pa.us
обсуждение исходный текст
Ответ на cascade and restrict options to alter domain drop constraint  (Marc Munro <marc@bloodnok.com>)
Список pgsql-general
Marc Munro <marc@bloodnok.com> writes:
> I am puzzled by the cascade and restrict options to the alter domain
> drop constraint command.

They don't do anything.

I think they were put in because we have this meme that the SQL spec
requires RESTRICT/CASCADE options on every type of DROP, but so far
as I can see, SQL99 has no such option for ALTER DOMAIN DROP CONSTRAINT.
So maybe it's a bug that we take the options for it.  Or maybe it's
better to leave them there, in case people are expecting them to
be there on the same reasoning.

            regards, tom lane

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

Предыдущее
От: Madison Kelly
Дата:
Сообщение: Re: Manually clearing "database "foo" is being accessed by other users"
Следующее
От: Ralph Smith
Дата:
Сообщение: pg_restore - invalid file problem