Re: Viewing new 9.3 error fields - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Viewing new 9.3 error fields
Date
Msg-id 20130411203115.GD6057@momjian.us
Whole thread Raw
In response to Re: Viewing new 9.3 error fields  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Thu, Apr 11, 2013 at 03:31:17PM -0300, Alvaro Herrera wrote:
> Bruce Momjian wrote:
> 
> > However, I am unable to see this in psql:
> > 
> >     CREATE TABLE ledger (id SERIAL, balance NUMERIC(10,2) unique);
> >     
> >     SET log_error_verbosity = 'verbose';
> >     
> >     INSERT INTO ledger VALUES (DEFAULT, 1);
> >     
> >     INSERT INTO ledger VALUES (DEFAULT, 1);
> >     ERROR:  duplicate key value violates unique constraint "ledger_balance_key"
> >     DETAIL:  Key (balance)=(1.00) already exists.
> > -->
> > 
> > What am I missing?
> 
> \set VERBOSITY verbose

Thanks, that worked.  :-)

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Enabling Checksums
Next
From: Miguel Angel de Blas Burdalo
Date:
Subject: Add SPI_gettypmod() fucntion