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

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

Previous
From: Greg Stark
Date:
Subject: Re: Changing the continuation-line prompt in psql?
Next
From: Tom Lane
Date:
Subject: Re: Changing the continuation-line prompt in psql?