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

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

Tom Lane escribió:

> Huh? The proposed syntax was
>
> \x query...
>
> What do you do when you'd like the query to extend over multiple lines?
> Backslash commands can't cross lines.

Save the fact that the current query is extended, until query end? I
haven't actually looked at what the implementation would look like.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Ron Mayer 2008-04-03 23:28:48 Re: modules
Previous Message Tom Lane 2008-04-03 22:23:39 Re: Small TRUNCATE glitch

Browse pgsql-patches by date

  From Date Subject
Next Message Andrew Dunstan 2008-04-03 23:08:31 Re: Expose checkpoint start/finish times into SQL.
Previous Message Tom Lane 2008-04-03 22:34:34 Re: Expose checkpoint start/finish times into SQL.