Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group