| От | Tom Lane |
|---|---|
| Тема | Re: Segmentation fault with core dump |
| Дата | |
| Msg-id | 13612.1365636546@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Segmentation fault with core dump (Andres Freund <andres@2ndquadrant.com>) |
| Ответы |
Re: Segmentation fault with core dump
|
| Список | pgsql-general |
Andres Freund <andres@2ndquadrant.com> writes:
> On 2013-04-10 19:06:12 -0400, Tom Lane wrote:
>> And the answer is they're not testing this code path at all, because if
>> you do
>> DECLARE c CURSOR WITH HOLD FOR ...
>> FETCH ALL FROM c;
>> then the second query executes with a portal (and resource owner)
>> created to execute the FETCH command, not directly on the held portal.
> But in that path CurrentResourceOwner gets reset to portal->resowner as
> well (see PortalRunFetch())?
Right, but that's the FETCH's portal, which is a regular "live" portal
that has a ResOwner.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера