Re: [PATCHES] log_statement output for protocol prepare/bind/execute

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] log_statement output for protocol prepare/bind/execute
Дата
Msg-id 18875.1154731034@sss.pgh.pa.us
обсуждение исходный текст
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> I modified the code to store the user statement name in the portal for
> protocol execute, so I can print the user name at that time.

Please forget that and print the portal name.  I'm getting tired of
repeating it, but: there are two different names here and they are
both important.  The bind message should print both names.

> Here is
> the new output:

>     LOG:  statement protocol prepare sel1:  SELECT 1;
>     LOG:  statement protocol bind sel1:  SELECT 1;
>     LOG:  statement protocol execute sel1:  SELECT 1;

If we could lose the noise words "statement protocol" we'd be getting
somewhere ...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: "Constraint exclusion" is not general enough
Следующее
От: David Fetter
Дата:
Сообщение: Re: 8.2 features status