pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: hubert depesz lubaczewski <depesz@depesz.com>
To: Joe Wildish <joe@lateraljoin.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Getting the exact SQL from inside an event trigger
Date: Thu, 2 Mar 2023 13:29:02 +0100
Message-ID: <ZACWjsvpaP7pZtc+@depesz.com> (raw)
In-Reply-To: <10164c95-ef23-4624-9251-ea6ff594cd1c@app.fastmail.com>
References: <10164c95-ef23-4624-9251-ea6ff594cd1c@app.fastmail.com>

On Thu, Mar 02, 2023 at 11:12:37AM +0000, Joe Wildish wrote:
> We are using event triggers to capture DDL for subsequent replay on a logical replica.

This might be a bit different answer from what you expect, but have you
seen pgl_ddl_deploy project?

Best regards,

depesz






view thread (3+ messages)  latest in thread

Message-ID: <ZACWjsvpaP7pZtc+@depesz.com>
Permalink:  ../ZACWjsvpaP7pZtc+@depesz.com/
Also on:    postgresql.org/message-id/ZACWjsvpaP7pZtc+@depesz.com

 · 

reply

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: depesz@depesz.com, joe@lateraljoin.com
  Subject: Re: Getting the exact SQL from inside an event trigger
  In-Reply-To: <ZACWjsvpaP7pZtc+@depesz.com>
  References: <10164c95-ef23-4624-9251-ea6ff594cd1c@app.fastmail.com> <ZACWjsvpaP7pZtc+@depesz.com>

* 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