* Christopher Browne (cbbrowne@gmail.com) wrote:
> It seems like pretty serious bikeshedding to try to come up with an
> operator to express "do as many of character X as the length of
> variable $FOO".
How about "pad with spaces to line up prompt", or such? In general, I
like the idea of having spaces there instead of the db name.
> The "bike shedding" that I'd rather have would involve enclosing
> prompts with /* comments */ so that cut'n'paste could be expected to
> generate output that could run, without further editing, in another
> psql session. Mind you, whenever I have configured such, I have been
> unhappy at how wide that makes the prompt and at the loss of screen
> space.
Uhm.. With the above, perhaps "--%Z+>", which would generate:
postgres=>
-- +>
etc.
Thanks,
Stephen