Re: contrib/pg_stat_statements - Mailing list pgsql-hackers

From ITAGAKI Takahiro
Subject Re: contrib/pg_stat_statements
Date
Msg-id 20081115123902.FDCF.52131E4D@oss.ntt.co.jp
Whole thread Raw
In response to Re: contrib/pg_stat_statements  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I'm trying to figure out what is the status of this patch?  I'm not sure
> if there's any point in applying it, when contrib/pg_stat_statements
> hasn't been updated to make use of it.

Here is an updated patch to use QueryDesc.queryText and supports nested
statements. The patch needs to be applied after contrib/auto_explain patch.

Now we can choose statistics.track_statements from 'none', 'top' and 'all'.
Nested statements are collected in the case of 'all'.

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center


Attachment

pgsql-hackers by date:

Previous
From: "Robert Haas"
Date:
Subject: Re: Synchronous replication patch v2
Next
From: Andrew Chernow
Date:
Subject: Re: libpq-events windows gotcha