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 1sbLKr-00FtrA-9c for pgsql-bugs@arkaria.postgresql.org; Tue, 06 Aug 2024 14:38:49 +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 1sbLKp-000L7e-Pc for pgsql-bugs@arkaria.postgresql.org; Tue, 06 Aug 2024 14:38:47 +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 1sbLKp-000L7R-2k for pgsql-bugs@lists.postgresql.org; Tue, 06 Aug 2024 14:38:47 +0000 Received: from fhigh7-smtp.messagingengine.com ([103.168.172.158]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sbLKl-003Tf8-VS for pgsql-bugs@lists.postgresql.org; Tue, 06 Aug 2024 14:38:46 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailfhigh.nyi.internal (Postfix) with ESMTP id E5AFB1151539; Tue, 6 Aug 2024 10:38:41 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 06 Aug 2024 10:38:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1722955121; x=1723041521; bh=0 CDpG+dTqiz7Tq5SsWrZhywcIh0fKboB6Fe7RZtFNaI=; b=lDfniyzkYYlekKNrw LyBwUlsU0nCsg31+ojvyATPMqmiR8nbCJjn6PwapxmK+9IU7DQwdqUsUfY66Ea7b 3OBcjvACVo1OdyT0AtNGmsEPoB8cuBwliQRmsraj30ZHvMZcR6PWHI6cdYgRthZl MdPASNGgy6fjuf9VxYxxhrxlo9NrDjes62TDw6GtwYEddm0Sej0hjD8DUG3HCZcr 4mbJaHVqPxcNCmA0HSFuzzr+ySXKwNETRowj8l4peSiVZFR14HpW97sFTCTm0n/q aelmZfpu9UG0fGfAqG7rfG97AHlDCyLU/v2Xm/9q9vdGiPuSDd2Prg97rQFJpn+E ViJMg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrkeekgdejkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggugfgjsehtkeertd dttdejnecuhfhrohhmpeetlhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvges rghlvhhhrdhnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpedujeevjeffjeevud dutedvkeeiueeitddvieelfeekveejudefgeeuvdejhfeuleenucffohhmrghinhepvghn thgvrhhprhhishgvuggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrghdp nhgspghrtghpthhtoheptd X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 6 Aug 2024 10:38:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alvh.no-ip.org; s=schmee; t=1722955118; bh=sm4lTYZjxQRwjfrJwybyy3boo23fxksDSHqqkdRwpYE=; h=Date:From:To:Subject:In-Reply-To:From; b=JGbP1cemdM4ypnUgg6rZVh8HSBHiMNXxIF0+iJ/nHAqRGP0NAxwhI36c2BF0eD0es +ihpUJLtW36kYa7CqSV0FeXOuIWQpApZzd5ktj3CV8bTF4RgXU9gWoJDikDM5cmAH6 1i1FC9o7egnVaAlFOFg9VQLuqnUOZDsg6+UwnXQAPAij+UasuP8/L6ZJCg8LeLCFQS yOEKcZFi0IskPIbKVfWsrzQF0AB+lrmWoXFDYgFuLVUoLcMvX2875dXOqsUgnmEfEm Z2THVCEWEYbPO/CRQMjYaqLRtfdeHFTXJTgSdDsbAVSJ92lSFzhqNSgQi35MlidpLX omlrzE3GiRdfQ== Received: by schmee.alvh.no-ip.org (Postfix, from userid 1000) id D51F614DB; Tue, 6 Aug 2024 16:38:38 +0200 (CEST) Date: Tue, 6 Aug 2024 10:38:38 -0400 From: Alvaro Herrera To: p2wap3@gmail.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18570: Drop event trigger for DDL finishes successfully but trigger still executed on DDL Message-ID: <202408061438.eqf4u2oyojau@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <18570-43bc1b85bebd2572@postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-Aug-06, PG Bug reporting form wrote: > After some time I decided to drop the event trigger. The command is executed > successfully (DROP EVENT TRIGGER CASCADE) > I double checked by querying the information_schema.triggers (the list is > empty) > > But every time I try to execute a DDL operation, I encounter an error saying > that DDL function was called. > The error was saying the operation failed because awsdms_intercept_ddl() > function. Maybe you're dropping the event trigger in one database, but it still exist in other databases. For example, if you originally created it in template1 and it got propagated by CREATE DATABASE into some new one, then if you drop it from template1 it'll still exist in the databases you created later. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ ¡Ay, ay, ay! Con lo mucho que yo lo quería (bis) se fue de mi vera ... se fue para siempre, pa toíta ... pa toíta la vida ¡Ay Camarón! ¡Ay Camarón! (Paco de Lucía)