Re: How Do You Associate a Query With its Invoking Procedure?

From: Fred Habash <fmhabash(at)gmail(dot)com>
To: pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: How Do You Associate a Query With its Invoking Procedure?
Date: 2018-09-14 15:38:12
Message-ID: CADpeV5xXCfvkc5acofF-_MTD5T=b=xYS3Wi1Dayys_XsaO+25w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Any ideas, please?

On Thu, Sep 13, 2018, 3:49 PM Fd Habash <fmhabash(at)gmail(dot)com> wrote:

> In API function may invoke 10 queries. Ideally, I would like to know what
> queries are invoked by it and how long each took.
>
>
>
> I’m using pg_stat_statement. I can see the API function statement, but how
> do I deterministically identify all queries invoked by it?
>
>
>
>
>
> ----------------
> Thank you
>
>
>

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message David G. Johnston 2018-09-14 16:33:56 Re: How Do You Associate a Query With its Invoking Procedure?
Previous Message Tim Cross 2018-09-13 22:41:18 Re: Performance of INSERT into temporary tables using psqlODBC driver