Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Wciee-0003Ep-ED for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Apr 2014 21:55:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Wcied-0003tU-Ki for pgsql-hackers@arkaria.postgresql.org; Tue, 22 Apr 2014 21:55:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WcieZ-0003mv-8z for pgsql-hackers@postgresql.org; Tue, 22 Apr 2014 21:54:59 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WcieW-0001av-5J for pgsql-hackers@postgresql.org; Tue, 22 Apr 2014 21:54:58 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1WcieU-0004lY-3S; Tue, 22 Apr 2014 17:54:54 -0400 Date: Tue, 22 Apr 2014 17:54:54 -0400 From: Bruce Momjian To: Fujii Masao Cc: Emanuel Calvo , "pgsql-hackers@postgresql.org" Subject: Re: Patch for CREATE RULE sgml -- Was in: [DOCS] Message-ID: <20140422215454.GG10046@momjian.us> References: <532B4E72.90309@2ndquadrant.com> <532C6111.4040102@2ndquadrant.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Mon, Mar 24, 2014 at 09:51:07PM +0900, Fujii Masao wrote: > On Sat, Mar 22, 2014 at 12:56 AM, Emanuel Calvo > wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA512 > > > > > > > > Hi guys, > > > > I realized that the output of the CREATE RULE has not a detailed > > output for the "events" parameter. > > > > But the question here is that I'm not sure which format follow: > > > > { INSERT | UPDATE | DELETE | SELECT} > > > > or > > > > INSERT > > UPDATE > > DELETE > > SELECT > > - -- > > > > > > I attach a patch for each one. > > Though I'm not sure the right policy of the format in synopsis, ISTM that > the following format is suitable in this case, i.e., if the value list > is very simple. > Patch attached. > > SELECT | INSERT | UPDATE | DELETE Patch applied. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers