Re: [HACKERS] Parallel worker error

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема Re: [HACKERS] Parallel worker error
Дата
Msg-id CAA4eK1JFug3fBo5ruVv+inD7eoSzTbcursSq3JB0zYW7BviNtg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Parallel worker error  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: [HACKERS] Parallel worker error  (Pavan Deolasee <pavan.deolasee@gmail.com>)
Re: [HACKERS] Parallel worker error  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Aug 30, 2017 at 5:11 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> On Wed, Aug 30, 2017 at 6:58 AM, Pavan Deolasee
> <pavan.deolasee@gmail.com> wrote:
>> It's quite possible that I don't understand the differences in "role" and
>> "session authorization", but it still looks like a bug to me. May be
>> SerializeGUCState() should check if SetRoleIsActive is true and only then
>> save the role information?
>
> Ugh.  Well, this is definitely a bug, but I'm not sure if that's the right fix.
>

Yeah.

> Mutually interdependent GUCs are bad news.
>

I am able to reproduce this without involving session authorization
guc as well.  One needs to drop the newly created role from another
session, then also we can see the same error.

-- 
With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Parallel worker error
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] [BUGS] [postgresql 10 beta3] unrecognized node type: 90