Re: Unexpected changes of CurrentResourceOwner and CurrentMemoryContext

Поиск
Список
Период
Сортировка
От Mihail Nikalayeu
Тема Re: Unexpected changes of CurrentResourceOwner and CurrentMemoryContext
Дата
Msg-id CADzfLwXBdw+XjqCAU6wtWYGi3e=MSu=haP_kZO7cUSW5_nyx5A@mail.gmail.com
обсуждение исходный текст
Ответ на Unexpected changes of CurrentResourceOwner and CurrentMemoryContext  (Antonin Houska <ah@cybertec.at>)
Ответы Re: Unexpected changes of CurrentResourceOwner and CurrentMemoryContext
Список pgsql-hackers
Hello, Antonin!

    if (using_subtxn)
    {
       RollbackAndReleaseCurrentSubTransaction();
       MemoryContextSwitchTo(ccxt);
       CurrentResourceOwner = cowner;
    }

IIUC memory context is already switched above:

    MemoryContext ecxt = MemoryContextSwitchTo(ccxt);

Best regards,
Mikhail.



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