Re: security_definer_search_path GUC

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: security_definer_search_path GUC
Дата
Msg-id CAKFQuwaHKTugicKMdJShdXMAnpC=Vx2rM+KvncyJW+mp9ATvog@mail.gmail.com
обсуждение исходный текст
Ответ на Re: security_definer_search_path GUC  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: security_definer_search_path GUC  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-hackers
On Fri, Jun 4, 2021 at 9:03 AM Pavel Stehule <pavel.stehule@gmail.com> wrote:
pá 4. 6. 2021 v 17:43 odesílatel Joel Jacobson <joel@compiler.org> napsal:
Maybe this could work:
CREATE SCHEMA schema_name UNQUALIFIED;
Which would explicitly make all the objects created in the schema accessible unqualified, but also enforce there are no conflicts with other objects in existence in all unqualified schemas, upon the creation of new objects.

Yes, it can work. I am not sure if "unqualified" is the best keyword, but the idea is workable.

Sounds like a job for an event trigger listening to CREATE/ALTER schema.

David J.

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Add PortalDrop in exec_execute_message
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: security_definer_search_path GUC