Re: Changing the continuation-line prompt in psql?
От | Stephen Frost |
---|---|
Тема | Re: Changing the continuation-line prompt in psql? |
Дата | |
Msg-id | 20110429172331.GK4548@tamriel.snowman.net обсуждение исходный текст |
Ответ на | Re: Changing the continuation-line prompt in psql? (Christopher Browne <cbbrowne@gmail.com>) |
Ответы |
Re: Changing the continuation-line prompt in psql?
|
Список | pgsql-hackers |
* Christopher Browne (cbbrowne@gmail.com) wrote: > It seems like pretty serious bikeshedding to try to come up with an > operator to express "do as many of character X as the length of > variable $FOO". How about "pad with spaces to line up prompt", or such? In general, I like the idea of having spaces there instead of the db name. > 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. Uhm.. With the above, perhaps "--%Z+>", which would generate: postgres=> -- +> etc. Thanks, Stephen
В списке pgsql-hackers по дате отправления: