Re: contrib/pg_stat_statements

From: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: contrib/pg_stat_statements
Date: 2008-11-15 03:43:49
Message-ID: 20081115123902.FDCF.52131E4D@oss.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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 Content-Type Size
pg_stat_statements.1115.tar.gz application/octet-stream 12.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Chernow 2008-11-15 03:44:37 Re: libpq-events windows gotcha
Previous Message Robert Haas 2008-11-15 01:29:39 Re: Synchronous replication patch v2