pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Akos Vandra <axos88@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15271: Documentation / Error reporting on GUC parameter change
Date: Tue, 7 Aug 2018 17:43:06 -0400
Message-ID: <20180807214306.GL7297@momjian.us> (raw)
In-Reply-To: <CAHHcNofAgZ65zNmKZb-GmnXaSdn3EquacrWpJ+itEiqpeKV=Ow@mail.gmail.com>
References: <153121314370.1402.3836688647018870326@wrigleys.postgresql.org>
	<20180807172340.GC7297@momjian.us>
	<29540.1533669009@sss.pgh.pa.us>
	<20180807193647.GI7297@momjian.us>
	<CAHHcNocGsVsr7J3kFUPj2mSa1GMm7VC-fTdfTJSVk6dYdUYRwA@mail.gmail.com>
	<6376.1533675236@sss.pgh.pa.us>
	<CAHHcNofAgZ65zNmKZb-GmnXaSdn3EquacrWpJ+itEiqpeKV=Ow@mail.gmail.com>

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@sss.pgh.pa.us> wrote:
> 
>     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
> 

-- 
  Bruce Momjian  <bruce@momjian.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 +




view thread (8+ messages)

Message-ID: <20180807214306.GL7297@momjian.us>
Permalink:  ../20180807214306.GL7297@momjian.us/
Also on:    postgresql.org/message-id/20180807214306.GL7297@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: bruce@momjian.us, axos88@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #15271: Documentation / Error reporting on GUC parameter change
  In-Reply-To: <20180807214306.GL7297@momjian.us>
  References: <153121314370.1402.3836688647018870326@wrigleys.postgresql.org> <20180807172340.GC7297@momjian.us> <29540.1533669009@sss.pgh.pa.us> <20180807193647.GI7297@momjian.us> <CAHHcNocGsVsr7J3kFUPj2mSa1GMm7VC-fTdfTJSVk6dYdUYRwA@mail.gmail.com> <6376.1533675236@sss.pgh.pa.us> <CAHHcNofAgZ65zNmKZb-GmnXaSdn3EquacrWpJ+itEiqpeKV=Ow@mail.gmail.com> <20180807214306.GL7297@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox