Re: replacing role-level NOINHERIT with a grant-level option
От | Robert Haas |
---|---|
Тема | Re: replacing role-level NOINHERIT with a grant-level option |
Дата | |
Msg-id | CA+TgmoYKsLrqwBarzqorh5b-xvDdhve=uhk5fNfd0M0sRnPh_A@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: replacing role-level NOINHERIT with a grant-level option (Nathan Bossart <nathandbossart@gmail.com>) |
Ответы |
Re: replacing role-level NOINHERIT with a grant-level option
|
Список | pgsql-hackers |
On Mon, Aug 29, 2022 at 6:04 PM Nathan Bossart <nathandbossart@gmail.com> wrote: > On Mon, Aug 29, 2022 at 03:38:57PM -0400, Robert Haas wrote: > > Here is a patch to rearrange the logic slightly and also add a test > > case memorializing the intended behavior. Without this change, the > > regression test included in the patch fails like this: > > > > ERROR: no possible grantors > > > > ...which is never supposed to happen. > > The grantor column in the expected test output refers to "rhaas", so I > imagine the test only passes on your machines. Should we create a new > grantor role for this test? That's the second time I've made that exact mistake *on this thread*. I'm super good at this, I promise. I'll figure out a fix tomorrow when I'm less tired. Thanks for catching it. -- Robert Haas EDB: http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: