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 1kn3v6-0001KY-6v for pgsql-general@arkaria.postgresql.org; Wed, 09 Dec 2020 18:10:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kn3v4-0002D8-GL for pgsql-general@arkaria.postgresql.org; Wed, 09 Dec 2020 18:10:30 +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 1kn3v4-0002D1-8h for pgsql-general@lists.postgresql.org; Wed, 09 Dec 2020 18:10:30 +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 1kn3ux-0001ym-70 for pgsql-general@lists.postgresql.org; Wed, 09 Dec 2020 18:10:29 +0000 Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id 22DCA262A72 for ; Wed, 9 Dec 2020 10:10:21 -0800 (PST) Date: Wed, 9 Dec 2020 10:10:21 -0800 (PST) From: Rich Shepard To: PostgreSQL General Subject: Re: User input to queries In-Reply-To: <6A8DEECE-01FD-405F-B577-E85038FE59D7@gmail.com> Message-ID: References: <6A8DEECE-01FD-405F-B577-E85038FE59D7@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: > maybe you're looking for this? > https://stackoverflow.com/a/7389606 Paul, That looks very useful and I'll try the provided answers. Looking at the postgres-12 doc I cannot find a command 'PROMPT' anywhere in it. Thanks, Rich