Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUdaF-0006q8-JB for pgsql-docs@arkaria.postgresql.org; Tue, 02 Aug 2016 17:34:27 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bUdaF-0007Js-6C for pgsql-docs@arkaria.postgresql.org; Tue, 02 Aug 2016 17:34:27 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bUdZt-0006wC-Kz for pgsql-docs@postgresql.org; Tue, 02 Aug 2016 17:34:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bUdZq-00051Q-Qc for pgsql-docs@postgresql.org; Tue, 02 Aug 2016 17:34:04 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u72HY12v019303; Tue, 2 Aug 2016 13:34:01 -0400 From: Tom Lane To: Alvaro Herrera cc: Peter Eisentraut , pgsql-docs Subject: Re: NOTIFY man page still recommends rules In-reply-to: <20160802173117.GA554886@alvherre.pgsql> References: <20160802173117.GA554886@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Tue, 02 Aug 2016 13:31:17 -0400" Date: Tue, 02 Aug 2016 13:34:01 -0400 Message-ID: <19302.1470159241@sss.pgh.pa.us> X-Pg-Spam-Score: -3.1 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Alvaro Herrera writes: > Peter Eisentraut wrote: >> Is using rules here still best practice? This was probably written >> before statement triggers were available. > I think it's easier to dodge the rules topic entirely here and just > mention statement triggers. Using rules you cannot cover the truncate > case, for instance. +1 regards, tom lane -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs