Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cX85o-0004fS-DZ for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Jan 2017 15:05:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cX85n-0000hW-P2 for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Jan 2017 15:05:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cX85m-0000gt-FL for pgsql-hackers@postgresql.org; Fri, 27 Jan 2017 15:05:34 +0000 Received: from 173-164-140-181-sfba.hfc.comcastbusiness.net ([173.164.140.181] helo=fetter.org) by makus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cX85j-0004I0-HI for pgsql-hackers@postgresql.org; Fri, 27 Jan 2017 15:05:33 +0000 Received: by fetter.org (Postfix, from userid 1000) id 002B7E0538; Fri, 27 Jan 2017 07:05:29 -0800 (PST) Date: Fri, 27 Jan 2017 07:05:29 -0800 From: David Fetter To: Christoph Berg , PostgreSQL Hackers Subject: Re: One-shot expanded output in psql using \G Message-ID: <20170127150529.GA26422@fetter.org> References: <20170127132737.6skslelaf4txs6iw@msg.credativ.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170127132737.6skslelaf4txs6iw@msg.credativ.de> User-Agent: Mutt/1.7.1 (2016-10-04) X-Pg-Spam-Score: -0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Fri, Jan 27, 2017 at 02:27:37PM +0100, Christoph Berg wrote: > I frequently find myself in the situation that I want the "\x" > expanded output mode activated just for one query. There's little > wrong with typing "\x" and re-executing the query in that case, but > then I'm always annoyed that the expanded output is still active for > the next query after that. +1 Your situation is familiar to me, and likely common among heavy users of psql. Best, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers