| От | Tom Lane |
|---|---|
| Тема | Re: statement logging / extended query protocol issues |
| Дата | |
| Msg-id | 3922.1125949107@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: statement logging / extended query protocol issues (Simon Riggs <simon@2ndquadrant.com>) |
| Ответы |
Re: statement logging / extended query protocol issues
|
| Список | pgsql-hackers |
Simon Riggs <simon@2ndquadrant.com> writes:
> + /*
> + * If we re-issue an Execute protocol request against an existing
> + * portal, then we are only fetching more rows rather than
> + * completely re-executing the query from the start
> + */
> + if (!portal->atEnd)
> + subsequent_fetch = true;
That strikes me as a completely bogus test for a "re-issued" execute.
Did you mean !atStart?
Also, why is it a good idea to report the number of rows fetched in
some cases (and not others)?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера