Alvaro Herrera <alvherre@commandprompt.com> writes:
> 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.
A bigger problem is that it doesn't play nicely at all with multi-line
queries.
regards, tom lane