indentifying the database in a Postgres log file.

Поиск
Список
Период
Сортировка
От Theo Galanakis
Тема indentifying the database in a Postgres log file.
Дата
Msg-id 16C0CF355FA04944A69E5A4F5299D30B110E9C@ganesh.au.lpint.net
обсуждение исходный текст
Ответы Re: indentifying the database in a Postgres log file.
Список pgsql-performance

I have written a program that parses a syslog file, reading all the postgres transactions. I would like to know if there is a way for postgres to log also the specific database the sql statement originated from.

The only options available in the postgresql.conf are:
#log_connections = false
#log_duration = false
#log_pid = false
#log_statement = false
#log_timestamp = false
#log_hostname = false
#log_source_port = false

Is this possible? Or is there a smart work around.

Regards,
        Theo

______________________________________________________________________
This email, including attachments, is intended only for the addressee
and may be confidential, privileged and subject to copyright. If you
have received this email in error, please advise the sender and delete
it. If you are not the intended recipient of this email, you must not
use, copy or disclose its content to anyone. You must not copy or
communicate to others content that is confidential or subject to
copyright, unless you have the consent of the content owner.

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Partitioned table performance
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: indentifying the database in a Postgres log file.