From: Tom Lane <tgl@sss.pgh.pa.us>
To: Akos Vandra <axos88@gmail.com>
Cc: bruce@momjian.us
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15271: Documentation / Error reporting on GUC parameter change
Date: Tue, 07 Aug 2018 16:53:56 -0400
Message-ID: <6376.1533675236@sss.pgh.pa.us> (raw)
In-Reply-To: <CAHHcNocGsVsr7J3kFUPj2mSa1GMm7VC-fTdfTJSVk6dYdUYRwA@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>
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
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: tgl@sss.pgh.pa.us, axos88@gmail.com, bruce@momjian.us
Subject: Re: BUG #15271: Documentation / Error reporting on GUC parameter change
In-Reply-To: <6376.1533675236@sss.pgh.pa.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>
* 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