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 1jbVMf-0002j7-CO for pgsql-general@arkaria.postgresql.org; Wed, 20 May 2020 20:30:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jbVMe-00043W-8b for pgsql-general@arkaria.postgresql.org; Wed, 20 May 2020 20:30:56 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jbVMe-00043P-0x for pgsql-general@lists.postgresql.org; Wed, 20 May 2020 20:30:56 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jbVMX-0007GC-NU for pgsql-general@lists.postgresql.org; Wed, 20 May 2020 20:30:55 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 04KKUmfi007620; Wed, 20 May 2020 16:30:48 -0400 From: Tom Lane To: Rob Sargent cc: pgsql-general@lists.postgresql.org Subject: Re: SET ROLE and search_path In-reply-to: <87a84390-7fb3-5f38-ed81-6ac3473b12bd@gmail.com> References: <87a84390-7fb3-5f38-ed81-6ac3473b12bd@gmail.com> Comments: In-reply-to Rob Sargent message dated "Wed, 20 May 2020 13:32:49 -0600" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <7618.1590006648.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Wed, 20 May 2020 16:30:48 -0400 Message-ID: <7619.1590006648@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Rob Sargent 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. regards, tom lane