From: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: postgres event trigger workaround
Date: Wed, 12 Jan 2022 11:57:45 +0000
Message-ID: <c32ee50d6e3b4c58b08fccccf0ade41d@zuerich.ch> (raw)
Hi,
PG event triggers are not firing on CREATE ROLE, CREATE DATABASE, CREATE TABLESPACE by definition (would be nice if they do).
Is there any workaround to react with ddl_command_start behavior on such an event?
Thanks,
Markus
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: Markus.Zwettler@zuerich.ch
Subject: Re: postgres event trigger workaround
In-Reply-To: <c32ee50d6e3b4c58b08fccccf0ade41d@zuerich.ch>
References: <c32ee50d6e3b4c58b08fccccf0ade41d@zuerich.ch>
* 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