Skip site navigation (1) Skip section navigation (2)

log_min_duration_statement feature

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: pgsql-patches(at)postgresql(dot)org
Subject: log_min_duration_statement feature
Date: 2003-04-22 15:37:32
Message-ID: 20030422233603.N10547-200000@houston.familyhealth.com.au (view raw or flat)
Thread:
Lists: pgsql-patches
OK,

I've implemented the TODO feature:

* Add GUC log_statement_and_duration to print statement and >= min
duration

..except I've given it a more consistent name.

This new feature will really help me find slow queries in my codebase.

The only thing that I'm not 100% on is the ong >= int * 1000 comparison I
do - will that overflow if the user has supplied max int?

Chris


Attachment: guc.txt
Description: text/plain (7.0 KB)

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2003-04-22 15:52:31
Subject: Re: log_min_duration_statement feature
Previous:From: Tilo SchwarzDate: 2003-04-22 15:14:07
Subject: Re: Are we losing momentum?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group