Re: logging proxy

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: logging proxy
Дата
Msg-id 20191108013345.GA3553@momjian.us
обсуждение исходный текст
Ответ на logging proxy  (Олег Самойлов <splarv@ya.ru>)
Список 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 +



В списке pgsql-general по дате отправления:

Предыдущее
От: Matthias Apitz
Дата:
Сообщение: Re: type SERIAL in C host-struct
Следующее
От: İlyas Derse
Дата:
Сообщение: INOUT PARAMETERS WITH RETURN TABLES IN FUNCTION