Re: Changing the continuation-line prompt in psql?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Christopher Browne <cbbrowne(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Changing the continuation-line prompt in psql?
Date: 2011-04-29 20:41:27
Message-ID: 1304109594-sup-7422@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Excerpts from Dimitri Fontaine's message of vie abr 29 16:37:37 -0300 2011:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vaibhav Kaushal 2011-04-29 20:57:19 Re: What would AggrefExprState nodes' args contain?
Previous Message Dimitri Fontaine 2011-04-29 19:37:37 Re: Changing the continuation-line prompt in psql?