Re: security_definer_search_path GUC

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: security_definer_search_path GUC
Дата
Msg-id
202106021920.fsc7tn3wjhzz@alvherre.pgsql
Ответ на
Список
Дерево обсуждения
security_definer_search_path GUC Marko Tiikkaja <marko@joh.to>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC Marko Tiikkaja <marko@joh.to>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC Julien Rouhaud <rjuju123@gmail.com>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC Marko Tiikkaja <marko@joh.to>
Re: security_definer_search_path GUC Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: security_definer_search_path GUC Marko Tiikkaja <marko@joh.to>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC Marko Tiikkaja <marko@joh.to>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC Marko Tiikkaja <marko@joh.to>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC Mark Dilger <mark.dilger@enterprisedb.com>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC Mark Dilger <mark.dilger@enterprisedb.com>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC Mark Dilger <mark.dilger@enterprisedb.com>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC Isaac Morland <isaac.morland@gmail.com>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC Pavel Stehule <pavel.stehule@gmail.com>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC "David G. Johnston" <david.g.johnston@gmail.com>
Re: security_definer_search_path GUC "Joel Jacobson" <joel@compiler.org>
Re: security_definer_search_path GUC "David G. Johnston" <david.g.johnston@gmail.com>
Re: security_definer_search_path GUC "David G. Johnston" <david.g.johnston@gmail.com>
Re: security_definer_search_path GUC Marko Tiikkaja <marko@joh.to>
On 2021-Jun-02, Marko Tiikkaja wrote:

> The use case is: version upgrades.  I want to be able to have a search_path
> of something like 'pg_catalog, compat, public'.  That way we can provide
> compatibility versions of newer functions in the "compat" schema, which get
> taken over by pg_catalog when running on a newer version.  That way all the
> compatibility crap is clearly separated from the stuff that should be in
> "public".

Can't you achieve that with "ALTER DATABASE .. SET search_path"?

-- 
Álvaro Herrera       Valdivia, Chile


В списке pgsql-hackers по дате отправления
От: Alvaro Herrera
Дата:
Сообщение: Re: Support for CREATE MODULE?
От: Andrew Dunstan
Дата:
FAQ