Re: Link WAL record to session

Поиск
Список
Период
Сортировка
От kaido vaikla
Тема Re: Link WAL record to session
Дата
Msg-id CA+427g-1pBYcQQC+6r6VQ-Xou1VU4pGR8mw3T62UJsCrtCGtsA@mail.gmail.com
обсуждение исходный текст
Ответ на Link WAL record to session  (Sergey Burladyan <eshkinkot@gmail.com>)
Ответы Re: Link WAL record to session  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
Hi
Take a look at parameter 
log_line_prefix

br
Kaido

On Tue, 24 Jan 2023, 20:36 Sergey Burladyan, <eshkinkot@gmail.com> wrote:

Hi, All!

Is it possible to associate a WAL record with it session/process id?

For example, if I have this record in WAL:
rmgr: Standby     len (rec/tot):     42/    42, tx: 1142213518, lsn: 36174/FDC19050, prev 36174/FDC19020, desc: LOCK xid 1142213518 db 13091 rel 733108033

Can I find session that writes it?

--
Sergey Burladyan


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

Предыдущее
От: Sergey Burladyan
Дата:
Сообщение: Link WAL record to session
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Link WAL record to session