Re: Changing the continuation-line prompt in psql?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Changing the continuation-line prompt in psql?
Дата
Msg-id 1304109594-sup-7422@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Changing the continuation-line prompt in psql?  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: Changing the continuation-line prompt in psql?  (Joshua Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Excerpts from Dimitri Fontaine's message of vie abr 29 16:37:37 -0300 2011:
> Tom Lane <tgl@sss.pgh.pa.us> writes:
> > It wasn't bothering me either initially, but the argument about the
> > command looking different when you suck it into an editor with \e
> > has some credibility.
> 
> It still do not bother me the least, I much prefer PROMPT2 to be +>.
> 
> With emacs you use M-d then a rectangular cut (C-x r k runs the command
> kill-rectangle), as any user of it might know.  I don't suppose it's
> that more a problem with other people editors of choice, or certainly
> they would switch.

Not a problem in Vim either, just use a visual block (Ctrl-V).  With the
leading spaces to line up, a rectangular region works great; if there's
no lineup, you have to cut the first line separately which is a bit
annoying.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Changing the continuation-line prompt in psql?
Следующее
От: Vaibhav Kaushal
Дата:
Сообщение: Re: What would AggrefExprState nodes' args contain?