Re: CREATE ROLE IF NOT EXISTS

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: CREATE ROLE IF NOT EXISTS
Дата
Msg-id 0EBDBD07-B739-4565-96A2-ED1233E760E9@yesql.se
обсуждение исходный текст
Ответ на CREATE ROLE IF NOT EXISTS  (David Christensen <david.christensen@crunchydata.com>)
Ответы Re: CREATE ROLE IF NOT EXISTS  (David Christensen <david.christensen@crunchydata.com>)
Список pgsql-hackers
> On 19 Oct 2021, at 22:12, David Christensen <david.christensen@crunchydata.com> wrote:
>
> Greetings -hackers,
>
> Enclosed is a patch that implements CREATE ROLE IF NOT EXISTS (along with the same support for USER/GROUP).  This is
afairly straightforward approach in that we do no validation of anything other than existence, with the user needing to
ensurethat permissions/grants are set up in the proper way. 
>
> Comments?

This fails the roleattributes test in "make check", with what seems to be a
trivial change in the output.  Can you please submit a rebased version fixing
the test?

--
Daniel Gustafsson        https://vmware.com/




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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: [PATCH] Proof of concept for GUC improvements
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: stat() vs ERROR_DELETE_PENDING, round N + 1