Re: [HACKERS] Copy/paste from psql - was: Changing the continuation-line prompt in psql?

2011-05-02 Thread Alvaro Herrera
Excerpts from Alastair Turner's message of sáb abr 30 05:10:40 -0300 2011: > Extending the history command (\s) sounds more promising > \s- for a reverse ordered history > \s[n] for the last n or n-from-last-th (\s1 different from \p in that > it shows the last completed query not the one in progr

[HACKERS] Copy/paste from psql - was: Changing the continuation-line prompt in psql?

2011-04-30 Thread Alastair Turner
On Fri, Apr 29, 2011 at 8:11 PM, Tom Lane wrote: > Greg Stark writes: >> On Fri, Apr 29, 2011 at 5:45 PM, Christopher Browne >> wrote: >>> The "bike shedding" that I'd rather have would involve enclosing >>> prompts with /* comments */ so that cut'n'paste could be expected to >>> generate outpu