From: Tom Lane <tgl@sss.pgh.pa.us>
To: p2wap3@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18570: Drop event trigger for DDL finishes successfully but trigger still executed on DDL
Date: Tue, 06 Aug 2024 11:11:25 -0400
Message-ID: <1344572.1722957085@sss.pgh.pa.us> (raw)
In-Reply-To: <18570-43bc1b85bebd2572@postgresql.org>
References: <18570-43bc1b85bebd2572@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> writes:
> I created a function and an event trigger but then decided to drop the event
> trigger (w/o dropping the function yet).
DROP EVENT TRIGGER works as expected for me. Can you provide
a fully self-contained example of what you did that didn't work?
The most obvious explanation is that you forgot to commit the DROP,
or something along that line.
> I double checked by querying the information_schema.triggers (the list is
> empty)
That proves exactly nothing, because event triggers are never shown
in that view anyway. They are not a SQL-standard feature, but
information_schema is all about SQL-standard things.
psql's "\dy" command could be used to check for event triggers.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, 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
In-Reply-To: <1344572.1722957085@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox