Re: User and Logical Replication - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: User and Logical Replication
Date
Msg-id f08ed440-b97a-16ad-4d41-d4cc49619276@2ndquadrant.com
Whole thread Raw
In response to User and Logical Replication  (Tobias Stadler <ts.stadler@gmx.de>)
Responses Re: User and Logical Replication  (Tobias Stadler <ts.stadler@gmx.de>)
List 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



pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: Add A Glossary
Next
From: Justin Pryzby
Date:
Subject: Re: backend type in log_line_prefix?