Re: "ALSO" keyword to "CREATE RULE" patch - Mailing list pgsql-patches

From Fabien COELHO
Subject Re: "ALSO" keyword to "CREATE RULE" patch
Date
Msg-id Pine.LNX.4.58.0403041612440.28778@sablons.cri.ensmp.fr
Whole thread Raw
In response to Re: "ALSO" keyword to "CREATE RULE" patch  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: "ALSO" keyword to "CREATE RULE" patch
List pgsql-patches
> 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.

--
Fabien Coelho - coelho@cri.ensmp.fr

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: "ALSO" keyword to "CREATE RULE" patch
Next
From: Bruce Momjian
Date:
Subject: Re: "ALSO" keyword to "CREATE RULE" patch