Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nRpQp-0004tK-Tp for pgsql-docs@arkaria.postgresql.org; Wed, 09 Mar 2022 06:04:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nRpQo-00047R-Fc for pgsql-docs@arkaria.postgresql.org; Wed, 09 Mar 2022 06:04:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nRpQm-00047H-UI for pgsql-docs@lists.postgresql.org; Wed, 09 Mar 2022 06:04:18 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nRpQj-0008NX-Ew for pgsql-docs@lists.postgresql.org; Wed, 09 Mar 2022 06:04:16 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A66E65C0289; Wed, 9 Mar 2022 01:04:10 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 09 Mar 2022 01:04:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; bh=MB7EpJ97m4lFCezt70eUD8gQJbdc+ifbCWr+Ry XwNIA=; b=ZAjTb2c0wi8LiDV91E0ffIeYojycImHmOC3+ZUt0y+BWeR5B4iu+BJ rYq6sXGQ8osq3A17PHdSxpf6gz4ml24zcoUauQqwDjuIztaTHgRjw/UAbEy46GFt cU4WAtsnqYGCxrJf9Urlr+kWSL15qL/slekMcNHLvvYRcwq64TLQEM7HMVF6e6Uo d8FVqRRCE7gLjAzEAP1LzPZG2GHCc47Vm50Y57E1R8sCmfDYggoXoh8xUy1SJigv W/rhE2zeawhlrHHaYolrgYx2HWmID5K/e4JEdp19ZUODAFqifxb7swom8EHKE0Y5 qHwoww/XCVl6xlfAqlCiNReP+F4kocmQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=MB7EpJ97m4lFCezt7 0eUD8gQJbdc+ifbCWr+RyXwNIA=; b=DeC4p2IUruZc2jmLY4lggKjR0JbOxbZu7 sscmz2FaUHXXwAa8KlVy90ZN0n5/BoO/SfzMlk0pL88E6b+HZszgE57/odO4dqBZ u9PxPiM9b5Se4iWzZne66Vf8dANPYF6XYLLYtkDbR0UHSZsk0AZzWk5kB4czUjvD ylxYlTHS49TQIavJJTWHzqpvBGfPxWd9o7MgELYCuBjMuu1xJ5z61JbXXOqlTS9M x+ldZQFM45eg3ZrQuOfQiv77H6tCmschIyKtnB9rAfHovgEzcJB4opbl9kOVcDUY GzZgtRynX97ZRY+mmRAn/1SGHTaRvKj6ZycaAy0vqhoDQOY0AjVXQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddruddujedgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvuffkfhggtggujgesghdtreertddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhu ihgvrhcuoehmihgthhgrvghlsehprghquhhivghrrdighiiiqeenucggtffrrghtthgvrh hnpedvgeduuefhtdeuleettdevjeehheeiveeuieegleetgeeljeelieeuieehgeevhfen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthh grvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 9 Mar 2022 01:04:09 -0500 (EST) Date: Wed, 9 Mar 2022 15:04:05 +0900 From: Michael Paquier To: leslie.lemaire@developpement-durable.gouv.fr, pgsql-docs@lists.postgresql.org Subject: Re: Missing tags ALTER ROUTINE and DROP ROUTINE in Event Trigger Firing Matrix Message-ID: References: <164647533363.646.5802968483136493025@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="wSGVnFJR2HWTa3ai" Content-Disposition: inline In-Reply-To: <164647533363.646.5802968483136493025@wrigleys.postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --wSGVnFJR2HWTa3ai Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Leslie, On Sat, Mar 05, 2022 at 10:15:33AM +0000, PG Doc comments form wrote: > "ALTER ROUTINE" and "DROP ROUTINE" are not listed in the "Event Trigger > Firing Matrix" documentation page, even though these tags seem supported > from PostgreSQL 11 onwards. >=20 > It would be really useful to mention them, since alterations and deletions > of functions and procedures through ALTER ROUTINE and DROP ROUTINE comman= ds > won't be caught by a trigger firing only on "ALTER PROCEDURE" and "ALTER > FUNCTION" tags (respectively "DROP PROCEDURE" and "DROP FUNCTION" tags). Thanks for the report. Indeed, the table is missing that ALTER ROUTINE would fire the events ddl_command_start and ddl_command_end. DROP ROUTINE fires on sql_drop, ddl_command_start and ddl_command_end. I have applied a patch to add this information to the docs down to 11. Regards, -- Michael --wSGVnFJR2HWTa3ai Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmIoQ1UACgkQnvQgOdby QH3N4Q//WgtzLYQnIZwUgsy1KOFzvCPFyU1Ga75A9j5813h1SltAGFMsDklDxADr V8JfJ9Co2Kl3Gq6yChzbhukPgtDkdIJX9hxw8FKNvqrKXivWBUD5d02q3a6Btv6K svv+jNJT9HNM53V9TRV06naiRPozseMG+iYv/eOVEvpf7mro314DCtTYUubhneBt cdpsAockV5gwJxFrR6F+fXHbI184ZnY/JI2mj4KkI14Mi8YuIe/QCTEz9YuBhWrk kY9ak7OlFcLNq8JY6Q6t+VcWjmePhDOFgNw/Stwk1LNga4yJQVSqbz5AQH49NwW2 rS2lQP2v8gxsAXGyp25mIvYqPmRewbnqItjeP/s10VPw4349rNw1NcZ9uJAJi2ub +Qt1jD+uGS5Au3EBAee+c+h5ZmNYXKVqai84JiTFDoJVmdFARnYCqmNbbxma+8AQ sREPCxEwqB14ppnR4gyygtLhW+DH3x83wiAB9IN6dMnzl5IPx8vaRIUsi+kNADF+ ObSnNd69xfOeQsXwAENMBsfvkIAMpyf7gZTwCJEMNgbsMxPUPse+Beb3neUUwB8T jCIT3fMxZ3HGSfSZk79nUKm/3KNZRKjbVYJ6EdjfUMb97OkUUEwWWqfQn/NUl2NU q5VZAjx8ewVsp/ikzfgW7xgt6uLtIWw7l6SXdlM7mDfCzWa8KnY= =klBe -----END PGP SIGNATURE----- --wSGVnFJR2HWTa3ai--