Department of second thoughts: let's show the exact key during unique index
Tom Lane <tgl@sss.pgh.pa.us>
Department of second thoughts: let's show the exact key during unique index build failures, too. Refactor a bit more since that error message isn't spelled the same.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/index/genam.c | modified | +19 −19 |
| src/backend/access/nbtree/nbtinsert.c | modified | +9 −3 |
| src/backend/utils/sort/tuplesort.c | modified | +10 −2 |
| src/include/access/genam.h | modified | +3 −3 |
| src/test/regress/expected/alter_table.out | modified | +2 −2 |
| src/test/regress/expected/create_index.out | modified | +1 −1 |