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

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Alastair Turner <bell(at)ctrlf5(dot)co(dot)za>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Greg Stark <gsstark(at)mit(dot)edu>, Christopher Browne <cbbrowne(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Copy/paste from psql - was: Changing the continuation-line prompt in psql?
Date: 2011-05-02 16:28:46
Message-ID: 1304353678-sup-5804@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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 progress)
>
> and most importantly showing full history through a less-style
> interface like large result sets rather than in the flow of psql

I agree that \s needs a bit of a whack, regardless of anything done to
the prompts.

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dickson S. Guedes 2011-05-02 16:56:21 PostgreSQL 9.1 beta1 disponível para testes.
Previous Message Simon Riggs 2011-05-02 16:20:30 Re: Proposed patch: Smooth replication during VACUUM FULL