Re: psql \G command -- send query and output using extended format

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, Dawid Kuroczko <qnex42(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql \G command -- send query and output using extended format
Date: 2008-04-03 20:51:41
Message-ID: 20080403205141.GH2528@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-04-03 20:57:51 Re: GUC parameter cursors_tuple_fraction
Previous Message Merlin Moncure 2008-04-03 20:41:19 Re: psql \G command -- send query and output using extended format

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2008-04-03 20:57:51 Re: GUC parameter cursors_tuple_fraction
Previous Message Merlin Moncure 2008-04-03 20:41:19 Re: psql \G command -- send query and output using extended format