Re: silence and failure of SQL commands

From: Robert Poor <rdpoor(at)gmail(dot)com>
To: John Payne <jcpayne(at)uw(dot)edu>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: silence and failure of SQL commands
Date: 2011-04-28 20:22:24
Message-ID: BANLkTimrrDwdLv+6WqP02g_ihJ=cOhRnyg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

John:

On Thu, Apr 28, 2011 at 13:08, John Payne <jcpayne(at)uw(dot)edu> wrote:
> A statistics program I use (R) has a simple and elegant
> solution: it drops the cursor one line and puts in a “+” sign.

Just for jollies, try typing this in:

\set PROMPT2 '+%# '

... and then try a command, intentionally omitting the semicolon:

postgres=# SELECT * FROM users
+#

... and see if you like the results. If there's enough acclaim for
it, perhaps Tom will consider making it the default.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Leif Biberg Kristensen 2011-04-28 20:23:45 Re: failure and silence of SQL commands
Previous Message John Payne 2011-04-28 20:08:02 silence and failure of SQL commands