Re: SQL statement logging: picking up strange queries from "pg_catalog"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: SQL statement logging: picking up strange queries from "pg_catalog"
Дата
Msg-id 19250.1278199479@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: SQL statement logging: picking up strange queries from "pg_catalog"  (Graham Leggett <minfrin@sharp.fm>)
Список pgsql-general
Graham Leggett <minfrin@sharp.fm> writes:
> Does postgresql have an access log where the lifetime of database
> connections are tracked? Specifically tracking when the client
> connected, and how long the client stayed connected for.

See log_connections and log_disconnections.  You probably want to
add PID to log_line_prefix, too, so that you can associate different
log entries for the same session.

            regards, tom lane

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

Предыдущее
От: Graham Leggett
Дата:
Сообщение: Re: SQL statement logging: picking up strange queries from "pg_catalog"
Следующее
От: Andre Lopes
Дата:
Сообщение: How to know if an INSERT is done inside a function?