Re: BUG #15271: Documentation / Error reporting on GUC parameter change

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15271: Documentation / Error reporting on GUC parameter change
Дата
Msg-id 6376.1533675236@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #15271: Documentation / Error reporting on GUC parameter change  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #15271: Documentation / Error reporting on GUC parameter change  (Akos Vandra <axos88@gmail.com>)
Список pgsql-bugs
Akos Vandra <axos88@gmail.com> writes:
> But the problem persists even as the database owner, I can't ALTER DATABASE
> (as the db owner) before the extension is loaded into the session.
> Actually that was the original issue. Non-owners or non-superusers can't
> use ALTER DATABASE, and that's fine, but not even the DB OWNER can use
> ALTER DB before a SELECT set_limit(); in case of pg_trgm.

Yeah.  It's a design limitation with no easy fix.  You just have to
load the extension so that the code knows the properties of the variable.

            regards, tom lane


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

Предыдущее
От: Akos Vandra
Дата:
Сообщение: Re: BUG #15271: Documentation / Error reporting on GUC parameter change
Следующее
От: Akos Vandra
Дата:
Сообщение: Re: BUG #15271: Documentation / Error reporting on GUC parameter change