Re: "ALSO" keyword to "CREATE RULE" patch

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: "ALSO" keyword to "CREATE RULE" patch
Дата
Msg-id 200403041536.i24FaMG06712@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: "ALSO" keyword to "CREATE RULE" patch  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: "ALSO" keyword to "CREATE RULE" patch  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-patches
Fabien COELHO wrote:
>
> > I thought the syntax came from Berkeley.  We can add ALSO if folks like
> > it.  I can't think of cases where we have keywords for both on and off
> > behavior, and allow a default if the keyword is missing.
>
> ALTER TABLE ... DROP CONSTRAINT ... [ RESTRICT | CASCADE ] ;
>
> CREATE TABLE ... [ WITH OIDS | WITHOUT OIDS ] ... ;
>
> CREATE USER ... [ CREATEDB | NOCREATEDB ] ... ;
>
> IMHO, from the language design point of view, it seems better if all
> options have a name.

Makes sense to me now.  No one liked the non-INSTEAD rule description,
for sure.

Shoot me the patch again and I will put in the the queue.  Thanks.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Fabien COELHO
Дата:
Сообщение: Re: "ALSO" keyword to "CREATE RULE" patch
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: "ALSO" keyword to "CREATE RULE" patch