Re: User and Logical Replication

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Tobias Stadler <ts(dot)stadler(at)gmx(dot)de>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: User and Logical Replication
Date: 2020-03-11 18:01:45
Message-ID: f08ed440-b97a-16ad-4d41-d4cc49619276@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2020-03-11 17:18, Tobias Stadler wrote:
> Would it be possible to include the user (who changed the row) in the logical replication data?

Not without major re-engineering.

If you need this information, maybe a BEFORE INSERT OR UPDATE trigger
could be used to write this information into a table column.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2020-03-11 18:53:54 Re: backend type in log_line_prefix?
Previous Message Corey Huinker 2020-03-11 17:36:08 Re: Add A Glossary