postgres event trigger workaround

From: "Zwettler Markus (OIZ)" <Markus(dot)Zwettler(at)zuerich(dot)ch>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: postgres event trigger workaround
Date: 2022-01-12 11:57:45
Message-ID: c32ee50d6e3b4c58b08fccccf0ade41d@zuerich.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Issa Gorissen 2022-01-12 12:22:22 WAL Archiving and base backup
Previous Message Peter Eisentraut 2022-01-12 11:25:18 Re: How to read an external pdf file from postgres?