Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jbWfr-00063K-VL for pgsql-general@arkaria.postgresql.org; Wed, 20 May 2020 21:54:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jbWfq-0007QR-SS for pgsql-general@arkaria.postgresql.org; Wed, 20 May 2020 21:54:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jbWfq-0007QJ-KL for pgsql-general@lists.postgresql.org; Wed, 20 May 2020 21:54:50 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by magus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jbWfo-0001Ry-AM for pgsql-general@lists.postgresql.org; Wed, 20 May 2020 21:54:50 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id BB6505F79E; Wed, 20 May 2020 17:54:47 -0400 (EDT) Date: Wed, 20 May 2020 17:54:47 -0400 From: Stephen Frost To: Tom Lane Cc: Rob Sargent , pgsql-general@lists.postgresql.org Subject: Re: SET ROLE and search_path Message-ID: <20200520215447.GO3418@tamriel.snowman.net> References: <87a84390-7fb3-5f38-ed81-6ac3473b12bd@gmail.com> <7619.1590006648@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="2/+Vq7w28QOSGzSM" Content-Disposition: inline In-Reply-To: <7619.1590006648@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --2/+Vq7w28QOSGzSM Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Greetings, * Tom Lane (tgl@sss.pgh.pa.us) wrote: > Rob Sargent writes: > > Am I (again) alone in finding this a bit hokey?=A0 That a user name jus= t=20 > > happens to be a schema name ... >=20 > That's actually strongly encouraged by the SQL spec, if memory serves. =2E.. and all-but-required by some other database systems. Doesn't make it a good idea tho, imv. Thanks, Stephen --2/+Vq7w28QOSGzSM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJexacnAAoJEO1sijiDR2RVwfUQAI/0B1kBG15d1pCYHn7BhBIC /P/qQBbQKq98ugZ48tfND7+E3oZz83+0PXCLC5j2Z7Jd+zE4zZ/eItku8Rvf8lMi tMGvdbFdVi+79srfDKg1ICTZZUU3gx7dWndp+ZJokyS6KzaICkS5gd+V6va3Immi FFL1mN092xPiGY1foJJ/yKvQVo/xZDX9J2YfcP3L0T6OKapigE+arQkNkTTXqeXU MN8k6ZdTtQH07hlApwOPi/vAPloS9hPQx9UyeMF4hdXrnJsRyCPCwMc5RBy5jU0X zF9ID5Cy2cYwWy1xh0Qubwhhfufyb4rGwteHCQtelXZelIko2HLGqvgsIktwpD1+ xDCJhe4MfGR9lESjev1ZnRK7AHej3tEEJoKQvbvaHRy4awkPWsWTF0Me2nC4kcOt XtYTctkCgp1XpJefAZUnbuTLXMGz0HMvMjmCWwJM+bXaOZ8FsHVhSTRMKyT9hhlx 1FbW4M1g7hMRiB3go9BYM8O89MItpwaQJWfCMlP5QWr2d4gRU9CTBnJiy47mU4f/ oiaPfAnZJWU+hnP2oFenrXblH8VVbOtpc+4zmmsZ/Ng+dG+5Rv3Vg9igt5YeggBX zy4jxCgYdnhXxSFUCKRhATSuzvYNN5nr1UVJoDGoMMEWTtT2G1fwltU01b7gudx1 QAbrjroh0tKWwh4igHrY =U4Jb -----END PGP SIGNATURE----- --2/+Vq7w28QOSGzSM--