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

From Christoph Berg
Subject Re: [HACKERS] One-shot expanded output in psql using \G
Date
Msg-id 20170130151805.5xkyxrcagaqdxivl@msg.credativ.de
Whole thread Raw
In response to Re: [HACKERS] One-shot expanded output in psql using \G  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Re: Tom Lane 2017-01-30 <23622.1485788402@sss.pgh.pa.us>
> FWIW, \gx makes sense to me as well, particularly if we make it a
> complete extension of \g and allow an optional target file name.
> Does that functionality exist in mysql's \G ?

MySQL's (5.5 here) \G does not support a filename argument. (It will
instead stuff the argument into the next query buffer.)

(The \G patch already supports the filename argument.)

Mit freundlichen Grüßen,
Christoph Berg
-- 
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



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: [HACKERS] Superowners
Next
From: "David G. Johnston"
Date:
Subject: Re: [HACKERS] One-shot expanded output in psql using \G