Re: [HACKERS] One-shot expanded output in psql using \gx - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: [HACKERS] One-shot expanded output in psql using \gx
Date
Msg-id 20170208145240.corb3zkmypn6snj2@msg.credativ.de
Whole thread Raw
In response to Re: [HACKERS] One-shot expanded output in psql using \gx  (David Fetter <david@fetter.org>)
Responses Re: [HACKERS] One-shot expanded output in psql using \gx  (David Fetter <david@fetter.org>)
Re: [HACKERS] One-shot expanded output in psql using \gx  ("Daniel Verite" <daniel@manitou-mail.org>)
List pgsql-hackers
Re: David Fetter 2017-02-07 <20170207051659.GC3552@fetter.org>
> On Mon, Feb 06, 2017 at 08:54:13PM +0100, Christoph Berg wrote:
> > The majority of voices here was in favor of using \gx, so here is
> > another version of the same patch which implements that.
> 
> Patch is useful, and works as documented.
> 
> Maybe it could get a test or two in src/test/regress/*/psql.*

Good point. The new version tests \g and \gx with a new query, and
re-running it on the last query buffer.

Christoph
-- 
Senior Berater, Tel.: +49 2166 9901 187
credativ GmbH, HRB Mönchengladbach 12080, USt-ID-Nummer: DE204566209
Trompeterallee 108, 41189 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz, Sascha Heuer
pgp fingerprint: 5C48 FE61 57F4 9179 5970  87C6 4C5A 6BAB 12D2 A7AE

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: [HACKERS] chomp PQerrorMessage() in backend uses
Next
From: David Fetter
Date:
Subject: Re: [HACKERS] One-shot expanded output in psql using \gx