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 1m30RO-0004Gy-Hd for pgsql-general@arkaria.postgresql.org; Mon, 12 Jul 2021 18:14:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m30RN-0006Ri-HQ for pgsql-general@arkaria.postgresql.org; Mon, 12 Jul 2021 18:14:01 +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 1m30RN-0006Ra-8c for pgsql-general@lists.postgresql.org; Mon, 12 Jul 2021 18:14:01 +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 1m30RL-0001mk-6o for pgsql-general@lists.postgresql.org; Mon, 12 Jul 2021 18:14:00 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 150932A0106 for ; Mon, 12 Jul 2021 11:13:58 -0700 (PDT) Date: Mon, 12 Jul 2021 11:13:58 -0700 (PDT) From: Rich Shepard Reply-To: Rich Shepard To: pgsql-general@lists.postgresql.org Subject: Re: Use of '&' as table prefix in query [RESOLVED] In-Reply-To: Message-ID: References: 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, Rich Shepard wrote: > Long ago I wrote a query which was greatly improved (i.e., it actually > worked as intended) by help here): Ah! It finally came back to me as I looked to revise it. What I want both &p.lname and &p.fname are specific names passed in from the user. Now I know what they represent I'll find just how to specify them using python and psycopg2. Rich