From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Rob Sargent <robjsargent@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: SET ROLE and search_path
Date: Wed, 20 May 2020 17:54:47 -0400
Message-ID: <20200520215447.GO3418@tamriel.snowman.net> (raw)
In-Reply-To: <7619.1590006648@sss.pgh.pa.us>
References: <AM6PR05MB5287F42DF5C317F2BDA42E43EFB60@AM6PR05MB5287.eurprd05.prod.outlook.com>
<CAMjNa7c7_N4wzgP1suBd9XLAz0VSwG+g2Ra8pBKVvV0w5H6eDg@mail.gmail.com>
<87a84390-7fb3-5f38-ed81-6ac3473b12bd@gmail.com>
<7619.1590006648@sss.pgh.pa.us>
Greetings,
* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Rob Sargent <robjsargent@gmail.com> writes:
> > Am I (again) alone in finding this a bit hokey? That a user name just
> > happens to be a schema name ...
>
> That's actually strongly encouraged by the SQL spec, if memory serves.
... and all-but-required by some other database systems. Doesn't make
it a good idea tho, imv.
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-general@postgresql.org
Cc: sfrost@snowman.net, tgl@sss.pgh.pa.us, robjsargent@gmail.com
Subject: Re: SET ROLE and search_path
In-Reply-To: <20200520215447.GO3418@tamriel.snowman.net>
References: <AM6PR05MB5287F42DF5C317F2BDA42E43EFB60@AM6PR05MB5287.eurprd05.prod.outlook.com> <CAMjNa7c7_N4wzgP1suBd9XLAz0VSwG+g2Ra8pBKVvV0w5H6eDg@mail.gmail.com> <87a84390-7fb3-5f38-ed81-6ac3473b12bd@gmail.com> <7619.1590006648@sss.pgh.pa.us> <20200520215447.GO3418@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