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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql \G command -- send query and output using extended format
Дата
Msg-id 23332.1207258482@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: psql \G command -- send query and output using extended format  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: psql \G command -- send query and output using extended format  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: best way for export gram.y symbols
Следующее
От: Svenne Krap
Дата:
Сообщение: Re: [GENERAL] SHA1 on postgres 8.3