From: Stephen Frost <sfrost@snowman.net>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Fix tab completion in psql for ALTER DEFAULT PRIVILEGES
Date: Fri, 23 Dec 2016 23:03:48 -0500
Message-ID: <20161224040348.GG18360@tamriel.snowman.net> (raw)
In-Reply-To: <CA+TgmoYHQCzxYvoNNOOvLVNWP7wbd=RUdWCaqRBFB3bDzuOMRA@mail.gmail.com>
References: <E1cKbes-0001t1-4M@gemulon.postgresql.org>
<CA+TgmoYHQCzxYvoNNOOvLVNWP7wbd=RUdWCaqRBFB3bDzuOMRA@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
* Robert Haas (robertmhaas@gmail.com) wrote:
> On Fri, Dec 23, 2016 at 9:02 PM, Stephen Frost <sfrost@snowman.net> wrote:
> > Lastly, we weren't using the actual list of allowed kinds of
> > objects for default privileges for completion after the 'GRANT X ON' but
> > instead were completeing to what 'GRANT X ON' supports, which isn't the
> > ssame at all.
>
> /me scratches head.
'ALTER DEFAULT PRIVILEGES ... GRANT X ON' can be followed by the literal
term 'TABLES', or 'FUNCTIONS', etc.
'GRANT X ON ' can be followed by an actual table.
A bit awkward to write out in a single sentence though.
Thanks!
Stephen
Attachments:
signature.asc (application/pgp-signature, 818B) download
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-committers@postgresql.org
Cc: sfrost@snowman.net, robertmhaas@gmail.com
Subject: Re: pgsql: Fix tab completion in psql for ALTER DEFAULT PRIVILEGES
In-Reply-To: <20161224040348.GG18360@tamriel.snowman.net>
References: <E1cKbes-0001t1-4M@gemulon.postgresql.org> <CA+TgmoYHQCzxYvoNNOOvLVNWP7wbd=RUdWCaqRBFB3bDzuOMRA@mail.gmail.com> <20161224040348.GG18360@tamriel.snowman.net>
* 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