pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedlogging proxy
2+ messages / 2 participants
[nested] [flat]
* logging proxy
@ 2019-10-31 22:58 Олег Самойлов <splarv@ya.ru>
0 siblings, 1 reply; 2+ messages in thread
From: Олег Самойлов @ 2019-10-31 22:58 UTC (permalink / raw)
To: pgsql-general
Does anyone know PostgresQL proxy which can log queries with username, ip and affected rows for security reason. PostgresQL itself can log almost all, except affected rows.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: logging proxy
@ 2019-11-08 01:33 Bruce Momjian <bruce@momjian.us>
parent: Олег Самойлов <splarv@ya.ru>
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2019-11-08 01:33 UTC (permalink / raw)
To: Олег Самойлов <splarv@ya.ru>; +Cc: pgsql-general
On Fri, Nov 1, 2019 at 01:58:10AM +0300, Олег Самойлов
wrote:
> Does anyone know PostgresQL proxy which can log queries with username,
> ip and affected rows for security reason. PostgresQL itself can log
> almost all, except affected rows.
You can use the server logs to get the non-row information, then use
streaming replication with logical decoding to get the rows for each
transaction started by the user.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-11-08 01:33 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-10-31 22:58 logging proxy Олег Самойлов <splarv@ya.ru>
2019-11-08 01:33 ` Bruce Momjian <bruce@momjian.us>
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