[GENERAL] Matching statement and duration log lines

Поиск
Список
Период
Сортировка
От Popov Aleksey
Тема [GENERAL] Matching statement and duration log lines
Дата
Msg-id HE1PR0201MB205705C9E46632B735943D89B1460@HE1PR0201MB2057.eurprd02.prod.outlook.com
обсуждение исходный текст
Ответы Re: [GENERAL] Matching statement and duration log lines
Список pgsql-general

Hello!

I am sending PG logs to Elasticsearch and want to merge a line with statement and a line with duration into one document.
Having a statement line and a duration line, can I assume that if a session ids (%c) of these lines match,
and numbers of log lines (%l) are consecutive, then the duration line belongs to statement line?

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