Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ivhDc-00031I-E0 for pgsql-hackers@arkaria.postgresql.org; Sun, 26 Jan 2020 12:40:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ivhDa-0007W2-7x for pgsql-hackers@arkaria.postgresql.org; Sun, 26 Jan 2020 12:40:46 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ivhDZ-0007Vv-UR for pgsql-hackers@lists.postgresql.org; Sun, 26 Jan 2020 12:40:45 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ivhDX-0002OF-Hh for pgsql-hackers@postgresql.org; Sun, 26 Jan 2020 12:40:45 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1476:ff00:76e5:bff:fef3:7e00]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 485CCZ2zzMz3Dx9; Sun, 26 Jan 2020 13:40:42 +0100 (CET) Date: Sun, 26 Jan 2020 13:40:41 +0100 From: Christoph Berg To: Vik Fearing Cc: PostgreSQL-development Subject: Re: Add %x to PROMPT1 and PROMPT2 Message-ID: <20200126124041.GA387175@msg.df7cb.de> Mail-Followup-To: Christoph Berg , Vik Fearing , PostgreSQL-development References: <09502c40-cfe1-bb29-10f9-4b3fa7b2bbb2@2ndquadrant.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <09502c40-cfe1-bb29-10f9-4b3fa7b2bbb2@2ndquadrant.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Re: Vik Fearing 2020-01-26 <09502c40-cfe1-bb29-10f9-4b3fa7b2bbb2@2ndquadrant.com> > I cannot ever think of a time when I don't want to know if I'm in a > transaction or not (and what its state is). Every new setup I do, I add > %x to the psql prompt. > > I think it should be part of the default prompt. Path attached. +1, same here. Christoph