Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sCr9w-008ZrC-4Y for pgsql-general@arkaria.postgresql.org; Fri, 31 May 2024 01:34:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sCr9w-007lSI-6i for pgsql-general@arkaria.postgresql.org; Fri, 31 May 2024 01:34:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sCr9v-007lSA-RN for pgsql-general@lists.postgresql.org; Fri, 31 May 2024 01:34:19 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sCr9t-001b3g-8v for pgsql-general@lists.postgresql.org; Fri, 31 May 2024 01:34:19 +0000 Received: from pro.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 44V1Y7KP1859506; Thu, 30 May 2024 21:34:08 -0400 From: Tom Lane To: "johnlumby@hotmail.com" cc: pgsql-general@lists.postgresql.org, Adrian Klaver , "David G. Johnston" Subject: Re: Rules and Command Status - update/insert/delete rule with series of commands in action In-reply-to: References: Comments: In-reply-to "johnlumby@hotmail.com" message dated "Thu, 30 May 2024 18:34:23 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <4350.1717119247.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Thu, 30 May 2024 18:34:07 -0700 Message-ID: <4351.1717119247@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "johnlumby@hotmail.com" writes: > But I suppose that my next question,   given what you both say about the > RULE system being a dead-end,  is whether there is any likelihood of > supporting an INSTEAD OF trigger on a view at statement level?   Maybe > that stands more chance of going somewhere? Perhaps, but I don't know of anyone working on it. IIRC, the row-level-only restriction dates from before we had implemented transition tables, so that at the time there was nothing very meaningful that a statement-level trigger could do. Maybe that problem has gone away, though I've not thought about it very hard. regards, tom lane