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 1m30IQ-00041B-5V for pgsql-general@arkaria.postgresql.org; Mon, 12 Jul 2021 18:04:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m30IP-0001e4-64 for pgsql-general@arkaria.postgresql.org; Mon, 12 Jul 2021 18:04:45 +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 1m30IO-0001dH-TS for pgsql-general@lists.postgresql.org; Mon, 12 Jul 2021 18:04:44 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m30IM-0001jW-Db for pgsql-general@lists.postgresql.org; Mon, 12 Jul 2021 18:04:43 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id A0A392A0106 for ; Mon, 12 Jul 2021 11:04:41 -0700 (PDT) Date: Mon, 12 Jul 2021 11:04:41 -0700 (PDT) From: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Use of '&' as table prefix in query In-Reply-To: <2a6db83e-1201-dda6-fd7a-605ef7299c9b@gmail.com> Message-ID: References: <2dbe6c30-8b16-6b0f-1d93-026ee71b6eae@gmail.com> <2a6db83e-1201-dda6-fd7a-605ef7299c9b@gmail.com> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 12 Jul 2021, Rob Sargent wrote: > Having a hard time seeing the value in p.lname = p.lname and straight sql. Me, too. That's why I wanted an explanation. Seems to me I added it sometime for no valid reason. As I've not run that query in a very long time I'll clean up the query and test it with the next opportunity. Rich