Re: Changing the continuation-line prompt in psql?

From: "ktm(at)rice(dot)edu" <ktm(at)rice(dot)edu>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Christopher Browne <cbbrowne(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Changing the continuation-line prompt in psql?
Date: 2011-04-29 18:17:22
Message-ID: 20110429181722.GJ5868@staff-mud-56-27.rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Apr 29, 2011 at 02:10:19PM -0400, Stephen Frost wrote:
> * 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

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

Regards,
Ken

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2011-04-29 18:50:38 Re: Extreme bloating of intarray GiST indexes
Previous Message Tom Lane 2011-04-29 18:11:02 Re: Changing the continuation-line prompt in psql?