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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Any ideas, please? 

On Thu, Sep 13, 2018, 3:49 PM Fd Habash <fmhabash@xxxxxxxxx> 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

 


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux