Re: Inconsistency in extended-query-protocol logging

Поиск
Список
Период
Сортировка
От Guillaume Smet
Тема Re: Inconsistency in extended-query-protocol logging
Дата
Msg-id 1d4e0c10609130906w5ae56e94i5acb016d56a915ac@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Inconsistency in extended-query-protocol logging  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Inconsistency in extended-query-protocol logging  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 9/13/06, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>         statement: querystring                  Simple Query
>         parse <stmt>: querystring               Parse
>         bind <stmt>/<portal>: querystring       Bind
>         execute <stmt>/<portal>: querystring    Execute

I agree with that.
Hmmm, AFAICS, you changed "<stmt>/<portal>" to "<portal> to
<statement>" in your last commit. Or did I misunderstand?

> or these prefixed with "duration: xxx", as appropriate.  Bruce was
> pretty hot about having statement: in there, so the hard part might
> be to convince him.

Bruce, any opinion? I really think the extended query protocol is not
a statement stricly speaking.

> Also, the current code distinguishes a "fetch" from an
> already-partially-executed portal ... do you care about that?

I don't really understand what is a portal - I must admit I don't use
libpq directly. I never saw a log file with fetch. Do you have an
example? Should I consider an execute from fetch differently?

--
Guillaume


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Inconsistency in extended-query-protocol logging
Следующее
От: Tom Lane
Дата:
Сообщение: Re: contrib uninstall scripts need some love