summaryrefslogtreecommitdiff
path: root/src/include/access
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-08-01 20:59:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-08-01 20:59:17 +0000
commit527f0ae3fa48c3c3a8ba1bde19039545e88a52b6 (patch)
tree1438e03dee2e04a93846f206ee6c23c0cdefa810 /src/include/access
parentb680ae4bdbf1c7fd78e6988bbe8f89e1e1b5db86 (diff)
downloadpostgresql-527f0ae3fa48c3c3a8ba1bde19039545e88a52b6.tar.gz
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.
Diffstat (limited to 'src/include/access')
-rw-r--r--src/include/access/genam.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/access/genam.h b/src/include/access/genam.h
index 1902526577..068d96493d 100644
--- a/src/include/access/genam.h
+++ b/src/include/access/genam.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/genam.h,v 1.80 2009/08/01 19:59:41 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/access/genam.h,v 1.81 2009/08/01 20:59:17 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -164,8 +164,8 @@ extern FmgrInfo *index_getprocinfo(Relation irel, AttrNumber attnum,
extern IndexScanDesc RelationGetIndexScan(Relation indexRelation,
int nkeys, ScanKey key);
extern void IndexScanEnd(IndexScanDesc scan);
-extern void ReportUniqueViolation(Relation indexRelation,
- Datum *values, bool *isnull);
+extern char *BuildIndexValueDescription(Relation indexRelation,
+ Datum *values, bool *isnull);
/*
* heap-or-index access to system catalogs (in genam.c)