Re: Changing the continuation-line prompt in psql? - Mailing list pgsql-hackers

From ktm@rice.edu
Subject Re: Changing the continuation-line prompt in psql?
Date
Msg-id 20110429181722.GJ5868@staff-mud-56-27.rice.edu
Whole thread Raw
In response to Re: Changing the continuation-line prompt in psql?  (Stephen Frost <sfrost@snowman.net>)
List 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 by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Changing the continuation-line prompt in psql?
Next
From: Dimitri Fontaine
Date:
Subject: Re: Extreme bloating of intarray GiST indexes