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 1kn47D-0001i0-Tq for pgsql-general@arkaria.postgresql.org; Wed, 09 Dec 2020 18:23:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kn47C-0002i9-Kq for pgsql-general@arkaria.postgresql.org; Wed, 09 Dec 2020 18:23:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kn47C-0002i2-Dy for pgsql-general@lists.postgresql.org; Wed, 09 Dec 2020 18:23:02 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kn47A-00023r-Dq for pgsql-general@lists.postgresql.org; Wed, 09 Dec 2020 18:23:02 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 1369C264CF8 for ; Wed, 9 Dec 2020 10:22:58 -0800 (PST) Date: Wed, 9 Dec 2020 10:22:58 -0800 (PST) From: Rich Shepard To: PostgreSQL General Subject: Re: User input to queries In-Reply-To: <2B4FBE35-046A-49EF-9E4E-BE2F1E29E617@gmail.com> Message-ID: References: <6A8DEECE-01FD-405F-B577-E85038FE59D7@gmail.com> <2B4FBE35-046A-49EF-9E4E-BE2F1E29E617@gmail.com> User-Agent: Alpine 2.20 (LNX 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Wed, 9 Dec 2020, Paul Förster wrote: > but 12 has it: > > postgres=# \prompt 'input: ' input > input: this is test input > postgres=# select version(), :'input'; Paul, Okay. I use mupdf to view the document and my search string were 'prompt', and 'prompt command'. I didn't use '\prompt', Thanks again, Rich