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

Re: Changing the continuation-line prompt in psql?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Greg Stark <gsstark(at)mit(dot)edu>
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-30 14:59:32
Message-ID: 1304175573.14017.0.camel@vanquo.pezone.net (view raw or flat)
Thread:
Lists: pgsql-hackers
On fre, 2011-04-29 at 19:06 +0100, Greg Stark wrote:
> I would second this precise interest. It really annoys me more often
> than anything else that when I try to copy/paste an sql query I need
> to copy each line one by one. It would be different from MySql but I
> think it would be even clearer to the user:
> 
> postgres=> select 1,
> /*line 2:*/        2,
> /*line 3:*/        3;
>  ?column? | ?column? | ?column?
> ----------+----------+----------
>         1 |        2 |        3
> (1 row)

How about just making the continuation prompts empty then?


In response to

Responses

pgsql-hackers by date

Next:From: Pavel StehuleDate: 2011-04-30 16:16:13
Subject: increasing collapse_limits?
Previous:From: Kevin GrittnerDate: 2011-04-30 13:18:45
Subject: Re: Predicate locking

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