Re: Changing the continuation-line prompt in psql?
От
Tom Lane
Тема
Re: Changing the continuation-line prompt in psql?
Дата
Msg-id
8365.1304100662@sss.pgh.pa.us
Ответ на
Re: Changing the continuation-line prompt in psql? (Greg Stark)
Список
Дерево обсуждения
Changing the continuation-line prompt in psql? Tom Lane <tgl@sss.pgh.pa.us>
Re: Changing the continuation-line prompt in psql? Magnus Hagander <magnus@hagander.net>
Re: Changing the continuation-line prompt in psql? Tom Lane <tgl@sss.pgh.pa.us>
Re: Changing the continuation-line prompt in psql? "David E. Wheeler" <david@kineticode.com>
Re: Changing the continuation-line prompt in psql? Alvaro Herrera <alvherre@commandprompt.com>
Re: Changing the continuation-line prompt in psql? Christopher Browne <cbbrowne@gmail.com>
Re: Changing the continuation-line prompt in psql? Stephen Frost <sfrost@snowman.net>
Re: Changing the continuation-line prompt in psql? Stephen Frost <sfrost@snowman.net>
Re: Changing the continuation-line prompt in psql? "ktm@rice.edu" <ktm@rice.edu>
Re: Changing the continuation-line prompt in psql? Tom Lane <tgl@sss.pgh.pa.us>
Re: Changing the continuation-line prompt in psql? Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Re: Changing the continuation-line prompt in psql? Alvaro Herrera <alvherre@commandprompt.com>
Re: Changing the continuation-line prompt in psql? Joshua Berkus <josh@agliodbs.com>
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>
Re: Changing the continuation-line prompt in psql? Greg Stark <gsstark@mit.edu>
Re: Changing the continuation-line prompt in psql? Peter Eisentraut <peter_e@gmx.net>
Re: Changing the continuation-line prompt in psql? Tom Lane <tgl@sss.pgh.pa.us>
Re: Changing the continuation-line prompt in psql? Tom Lane <tgl@sss.pgh.pa.us>
Re: Changing the continuation-line prompt in psql? Pavel Stehule <pavel.stehule@gmail.com>
Greg Stark writes: > On Fri, Apr 29, 2011 at 5:45 PM, Christopher Browne wrote: >> The "bike shedding" that I'd rather have would involve enclosing >> prompts with /* comments */ so that cut'n'paste could be expected to >> generate output that could run, without further editing, in another >> psql session. �Mind you, whenever I have configured such, I have been >> unhappy at how wide that makes the prompt and at the loss of screen >> space. > I would second this precise interest. It really annoys me more often > than anything else that when I try to copy/paste an sql query I need > to copy each line one by one. It would be different from MySql but I > think it would be even clearer to the user: > postgres=> select 1, > /*line 2:*/ 2, > /*line 3:*/ 3; This looks promising until you stop to think about either string literals or /* comment blocks being continued across lines ... regards, tom lane
В списке pgsql-hackers по дате отправления