Re: TODO item: list prepared queries

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: TODO item: list prepared queries
Дата
Msg-id 27638.1136174808@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: TODO item: list prepared queries  (Neil Conway <neilc@samurai.com>)
Ответы Re: TODO item: list prepared queries
Список pgsql-patches
Neil Conway <neilc@samurai.com> writes:
> The docs need some improvement, but I'm not aware of any major remaining
> issues with the patch.

I object VERY strongly to the part of the patch that inserts a
deparse_query_list() call into exec_parse_message().  That is not a
cheap operation, and imposing that sort of overhead on every Parse
message is entirely unacceptable from a performance point of view.

I see no need for it either.  What's wrong with regurgitating the
original source string, which is already saved in prepared queries?

Other than that show-stopper, the patch looks reasonable at first glance.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: TODO item: list prepared queries
Следующее
От: Bruce Momjian
Дата:
Сообщение: Stats collector performance improvement