Re: Viewing new 9.3 error fields

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Viewing new 9.3 error fields
Date: 2013-04-11 20:31:15
Message-ID: 20130411203115.GD6057@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ It's impossible for everything to be true. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Miguel Angel de Blas Burdalo 2013-04-11 22:53:36 Add SPI_gettypmod() fucntion
Previous Message Simon Riggs 2013-04-11 19:12:59 Re: Enabling Checksums