Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icT0c-0001XO-0y for pgsql-docs@arkaria.postgresql.org; Wed, 04 Dec 2019 11:39:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1icT0a-0000s2-PR for pgsql-docs@arkaria.postgresql.org; Wed, 04 Dec 2019 11:39:52 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1icT0a-0000rs-El for pgsql-docs@lists.postgresql.org; Wed, 04 Dec 2019 11:39:52 +0000 Received: from forward101p.mail.yandex.net ([77.88.28.101]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1icT0W-0007fV-JG for pgsql-docs@lists.postgresql.org; Wed, 04 Dec 2019 11:39:51 +0000 Received: from forward102q.mail.yandex.net (forward102q.mail.yandex.net [IPv6:2a02:6b8:c0e:1ba:0:640:516:4e7d]) by forward101p.mail.yandex.net (Yandex) with ESMTP id C2B95328109C; Wed, 4 Dec 2019 14:39:45 +0300 (MSK) Received: from mxback4q.mail.yandex.net (mxback4q.mail.yandex.net [IPv6:2a02:6b8:c0e:6d:0:640:ed15:d2bd]) by forward102q.mail.yandex.net (Yandex) with ESMTP id BE4F07F20017; Wed, 4 Dec 2019 14:39:45 +0300 (MSK) Received: from vla3-2bcfd5e94671.qloud-c.yandex.net (vla3-2bcfd5e94671.qloud-c.yandex.net [2a02:6b8:c15:350f:0:640:2bcf:d5e9]) by mxback4q.mail.yandex.net (mxback/Yandex) with ESMTP id xlL19J8TtG-djrOs43Z; Wed, 04 Dec 2019 14:39:45 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1575459585; bh=XuRCUFBMfuh1ISSICC8ndCmJ2wVHT5ONPRx8Q/Aewzc=; h=In-Reply-To:Subject:CC:To:From:References:Date:Message-ID; b=FCAgyP++4YnPN5xGJojV54trcmPeFFvW1KVJXMHJV48mShbBxeuA2JTDpX9Pt5nog KDOWjB2o1EelDC/0q+w3YEBVfLrdZdmDkGmiAricaZEIIcMukYVu8bEVZla4ymLYey hii9omsiMgij0IBzTiguUUWl7zrySiJvS+feuEVs= Authentication-Results: mxback4q.mail.yandex.net; dkim=pass header.i=@yandex.ru Received: by vla3-2bcfd5e94671.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id YPSOV7v53b-diV8K85Y; Wed, 04 Dec 2019 14:39:44 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (Client certificate not present) Date: Wed, 4 Dec 2019 13:39:43 +0200 From: Eugen Konkov Message-ID: <263889933.20191204133943@yandex.ru> To: Bruce Momjian CC: PostgreSQL-development , pgsql-docs@lists.postgresql.org Subject: Re: Does 'instead of delete' trigger support modification of OLD In-Reply-To: <471116573.20191204133757@yandex.ru> References: <919823407.20191029175436@yandex.ru> <20191106185935.GE1843@momjian.us> <1771593631.20191107112032@yandex.ru> <352093181.20191107112429@yandex.ru> <20191107212655.GA487@momjian.us> <20191107222818.GA18712@momjian.us> <471116573.20191204133757@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello Eugen, > https://dbfiddle.uk/?rdbms=postgres_12&fiddle=95ed9fab6870d7c4b6266ea4d93def13 sorry, forget to update link to the latest example: https://dbfiddle.uk/?rdbms=postgres_12&fiddle=8e114ccc9f15a30ca3115cdc6c70d247 -- Best regards, Eugen Konkov