On Thu, May 26, 2011 at 10:02 AM, Alexander Farber <alexander.farber@xxxxxxxxx> wrote: > I've switched duration and SQL 'all' logging on, > but I have hard time to identify which SQL statement > has had which duration. You need to log more stuff. Look at the log_line_prefix setting, and add things like pid, username, database name, etc. -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general