Re: Changing the continuation-line prompt in psql?

Поиск
Список
Период
Сортировка
От ktm@rice.edu
Тема Re: Changing the continuation-line prompt in psql?
Дата
Msg-id 20110429181722.GJ5868@staff-mud-56-27.rice.edu
обсуждение исходный текст
Ответ на Re: Changing the continuation-line prompt in psql?  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On Fri, Apr 29, 2011 at 02:10:19PM -0400, Stephen Frost wrote:
> * 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

+1 to have psql strip a configurable beginning of line sequence.

Regards,
Ken


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Changing the continuation-line prompt in psql?
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Extreme bloating of intarray GiST indexes