Re: psql \G command -- send query and output using extended format - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: psql \G command -- send query and output using extended format
Date
Msg-id 20080403205141.GH2528@alvh.no-ip.org
Whole thread Raw
In response to Re: psql \G command -- send query and output using extended format  (Bruce Momjian <bruce@momjian.us>)
Responses Re: psql \G command -- send query and output using extended format  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Bruce Momjian escribió:
> Martijn van Oosterhout wrote:

> > I was thinking that maybe \x should have a one-shot mode, i.e.
> > 
> > \x <query>
> > 
> > does it only for this one statement. It would solve the OPs problem.
> 
> But break for others who want all output \x.

I think Martijn is proposing using it as some sort of prefix which would
take effect only on the current query.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: psql \G command -- send query and output using extended format
Next
From: Heikki Linnakangas
Date:
Subject: Re: [GENERAL] SHA1 on postgres 8.3