Re: Changing the continuation-line prompt in psql?

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Christopher Browne <cbbrowne(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Changing the continuation-line prompt in psql?
Date: 2011-04-29 18:10:19
Message-ID: 20110429181019.GL4548@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Stephen Frost (sfrost(at)snowman(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2011-04-29 18:10:50 Re: Changing the continuation-line prompt in psql?
Previous Message Greg Stark 2011-04-29 18:06:12 Re: Changing the continuation-line prompt in psql?