Re: TODO item: list prepared queries - Mailing list pgsql-patches

From Tom Lane
Subject Re: TODO item: list prepared queries
Date
Msg-id 21961.1134580430@sss.pgh.pa.us
Whole thread Raw
In response to Re: TODO item: list prepared queries  ("" <joe@mcknight.de>)
List pgsql-patches
"" <joe@mcknight.de> writes:
> It uses the query string that was already in the prepared queries hash
> table. This one uses debug_query_string. I'm a poor student and can't
> afford paying you a lunch, but I'd offer you a coke if you tell me why this
> is wrong  ;-)

(1) Multiple statements in same query string.  (2) Statements prepared
via paths other than front-door, client-submitted command; for instance,
inside a plpgsql function.

It was OK to not be very accurate about this as long as the string was
just being used for debugging purposes, but if it's going to be exposed
to users then I'm going to demand higher standards --- because those
corner cases *will* come back to us as bug reports.

            regards, tom lane

pgsql-patches by date:

Previous
From: ""
Date:
Subject: Re: TODO item: list prepared queries
Next
From: Kris Jurka
Date:
Subject: shared description table.