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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Akos Vandra <axos88(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15271: Documentation / Error reporting on GUC parameter change
Date: 2018-08-07 21:43:06
Message-ID: 20180807214306.GL7297@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Aug 7, 2018 at 11:11:16PM +0200, Akos Vandra wrote:
> Yeah I guessed as much :(
>
> It's definitely something worth mentioning in the docs with a fat warning sign
> though.

We do have a _vague_ warning sign. ;-)

---------------------------------------------------------------------------

>
> Thanks for looking into it.
> Akos
>
> On Tue, Aug 7, 2018, 22:53 Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> Akos Vandra <axos88(at)gmail(dot)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
>

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-08-08 00:04:53 BUG #15316: pg_restore failes to load data that is constrainted by a functional check constraints
Previous Message Akos Vandra 2018-08-07 21:11:16 Re: BUG #15271: Documentation / Error reporting on GUC parameter change