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

From Tom Lane
Subject Re: psql \G command -- send query and output using extended format
Date
Msg-id 25020.1207261317@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql \G command -- send query and output using extended format  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: psql \G command -- send query and output using extended format  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane escribi�:
>> A bigger problem is that it doesn't play nicely at all with multi-line
>> queries.

> Hmm, why wouldn't it?  I assume it would only be recognized if the query
> buffer is empty.

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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Small TRUNCATE glitch
Next
From: Tom Lane
Date:
Subject: Re: Small TRUNCATE glitch