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

Yech.  To name just a couple of problems, what if you decide after
typing another line or two that you didn't want \x after all?
Action-at-a-distance commands suck.  You'd also find that this didn't
play very nicely with history recall, since the history stuff assumes
that a line starting with a backslash command is separate from those
around it.

If we want this at all, we should do it the way first proposed (\G).
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: psql \G command -- send query and output using extended format
Следующее
От: Ron Mayer
Дата:
Сообщение: Re: modules