]> granicus.if.org Git - postgresql/commit
Improve unique-constraint-violation error messages to include the exact
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Aug 2009 19:59:41 +0000 (19:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 1 Aug 2009 19:59:41 +0000 (19:59 +0000)
commitb680ae4bdbf1c7fd78e6988bbe8f89e1e1b5db86
treec8a7f8bc0084a15ff3cdbb5b1b4476c69185ca80
parent2487d872e025312e7c16f0dd772190c6787efeea
Improve unique-constraint-violation error messages to include the exact
values being complained of.

In passing, also remove the arbitrary length limitation in the similar
error detail message for foreign key violations.

Itagaki Takahiro
20 files changed:
contrib/citext/expected/citext.out
contrib/citext/expected/citext_1.out
src/backend/access/common/indextuple.c
src/backend/access/index/genam.c
src/backend/access/nbtree/nbtinsert.c
src/backend/utils/adt/ri_triggers.c
src/backend/utils/adt/ruleutils.c
src/include/access/genam.h
src/include/access/itup.h
src/include/utils/builtins.h
src/interfaces/ecpg/test/expected/compat_informix-test_informix.stderr
src/test/regress/expected/alter_table.out
src/test/regress/expected/arrays.out
src/test/regress/expected/create_index.out
src/test/regress/expected/inherit.out
src/test/regress/expected/plpgsql.out
src/test/regress/expected/transactions.out
src/test/regress/expected/uuid.out
src/test/regress/output/constraints.source
src/test/regress/output/tablespace.source