Re: Changing the continuation-line prompt in psql?

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: Changing the continuation-line prompt in psql?
Дата
Msg-id 20110429181019.GL4548@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: Changing the continuation-line prompt in psql?  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Changing the continuation-line prompt in psql?
Список pgsql-hackers
* Stephen Frost (sfrost@snowman.net) wrote:
> Uhm..  With the above, perhaps "--%Z+>", which would generate:
>
> postgres=>
> --      +>

yah, obviously not going to work. :)  However, it wouldn't be impossible
to have psql recognize and strip "--<spaces>+> " if/when it's seen
starting a new line, if we set it up such that it's always the same..
Could be optional anyway, perhaps configurable as a regexp.

Anyhow, just some thoughts.
Thanks,
    Stephen

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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Changing the continuation-line prompt in psql?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Changing the continuation-line prompt in psql?