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 1kn3Cj-0008Jq-KC for pgsql-general@arkaria.postgresql.org; Wed, 09 Dec 2020 17:24:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kn3Ci-0008HA-HZ for pgsql-general@arkaria.postgresql.org; Wed, 09 Dec 2020 17:24:40 +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 1kn3Ci-0008H3-A2 for pgsql-general@lists.postgresql.org; Wed, 09 Dec 2020 17:24:40 +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 1kn3Cg-00040d-9B for pgsql-general@lists.postgresql.org; Wed, 09 Dec 2020 17:24:39 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 22EFD262A72 for ; Wed, 9 Dec 2020 09:24:37 -0800 (PST) Date: Wed, 9 Dec 2020 09:24:37 -0800 (PST) From: Rich Shepard To: PostgreSQL General Subject: Re: User input to queries 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: Precedence: bulk On Wed, 9 Dec 2020, Michael Lewis wrote: > Are you looking for this perhaps? > https://www.postgresql.org/docs/current/sql-prepare.html Michael, I don't think so. Reading the PREPARE doc page my understanding is that its use is for statement execution optimization, not asking for user data input for variables in the query statement. It's useful information, though not for my immediate need. Thanks and stay well, Rich