Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Graham Leggett <minfrin@xxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux