Re: Viewing new 9.3 error fields

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Viewing new 9.3 error fields
Date: 2013-04-11 18:31:17
Message-ID: 20130411183117.GD30671@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2013-04-11 19:12:59 Re: Enabling Checksums
Previous Message Dickson S. Guedes 2013-04-11 18:28:31 Re: Viewing new 9.3 error fields