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.
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 by date
|Next:||From: Bruce Momjian||Date: 2004-12-16 00:09:09|
|Subject: Re: indentifying the database in a Postgres log file.|
|Previous:||From: Greg Stark||Date: 2004-12-15 22:53:19|
|Subject: Re: Partitioned table performance|