Re: [PROPOSAL] extend the object names to the qualified names in pg_stat_statements - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PROPOSAL] extend the object names to the qualified names in pg_stat_statements
Date
Msg-id 15933.1543440866@sss.pgh.pa.us
Whole thread Raw
In response to [PROPOSAL] extend the object names to the qualified names inpg_stat_statements  (Sergei Agalakov <sergei.agalakov@gmail.com>)
Responses Re: [PROPOSAL] extend the object names to the qualified names inpg_stat_statements  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Sergei Agalakov <sergei.agalakov@gmail.com> writes:
> It would help to analyze performance issues if pg_stat_statements would 
> extend the object names to the qualified names.

What pg_stat_statements puts out is the original query text.  As was
already pointed out to you, changing that text is likely to break
use-cases in which people are trying to match entries to actual
queries or log entries.  This would also entail rather significant
overhead to find out schema names and interpolate them into the text.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Python versions (was Re: RHEL 8.0 build)
Next
From: Tom Lane
Date:
Subject: Re: Python versions (was Re: RHEL 8.0 build)