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 1m301d-0003Nf-DI for pgsql-general@arkaria.postgresql.org; Mon, 12 Jul 2021 17:47:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m301c-0005YZ-3P for pgsql-general@arkaria.postgresql.org; Mon, 12 Jul 2021 17:47:24 +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 1m301b-0005YQ-R1 for pgsql-general@lists.postgresql.org; Mon, 12 Jul 2021 17:47:23 +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 1m301Y-0001bb-AX for pgsql-general@lists.postgresql.org; Mon, 12 Jul 2021 17:47:22 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id AF9B42A0106 for ; Mon, 12 Jul 2021 10:47:15 -0700 (PDT) Date: Mon, 12 Jul 2021 10:47:15 -0700 (PDT) From: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Use of '&' as table prefix in query In-Reply-To: <2dbe6c30-8b16-6b0f-1d93-026ee71b6eae@gmail.com> Message-ID: References: <2dbe6c30-8b16-6b0f-1d93-026ee71b6eae@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: > These look like value substitutions, usually done on the client at it > sends the sql. How is this sql getting to the server (presumably after > substitution). Rob, I was running queries from the psql back then. Now I'm adding a GUI (tkinter) and using psycopg2. Thanks, Rich