Transaction user id through logical decoding

From: valeriof <valerio_farruggio(at)hotmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Transaction user id through logical decoding
Date: 2016-09-28 09:49:03
Message-ID: 1475056143158-5923261.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all,
I'm developing a custom plugin to stream Postgres CDC changes to my client
application. One of the info the application needs is the user id of the
user who executed a certain transaction. I can see we have access to other
transaction info (xid, lsn, changed data) but apparently the user id is not
available.
Does anyone know if it is possible to extract this info in any way?

Thanks,
Valerio

--
View this message in context: http://postgresql.nabble.com/Transaction-user-id-through-logical-decoding-tp5923261.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2016-09-28 09:53:52 Re: Password identifiers, protocol aging and SCRAM protocol
Previous Message Etsuro Fujita 2016-09-28 09:35:45 Re: Push down more full joins in postgres_fdw