Re: TODO item: list prepared queries

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TODO item: list prepared queries
Дата
Msg-id 21961.1134580430@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: TODO item: list prepared queries  ("" <joe@mcknight.de>)
Список 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 по дате отправления:

Предыдущее
От: ""
Дата:
Сообщение: Re: TODO item: list prepared queries
Следующее
От: Kris Jurka
Дата:
Сообщение: shared description table.