projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3605898
)
Change "WARN" message generated if a unique index is attempted on a table/key
author
Marc G. Fournier
<scrappy@hub.org>
Tue, 25 Feb 1997 03:38:23 +0000
(
03:38
+0000)
committer
Marc G. Fournier
<scrappy@hub.org>
Tue, 25 Feb 1997 03:38:23 +0000
(
03:38
+0000)
containing non-unique data
src/backend/access/nbtree/nbtsort.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/nbtree/nbtsort.c
b/src/backend/access/nbtree/nbtsort.c
index e2653ce96af67bde12ec691a576893c4777e0c62..7c3d5ba56394dd4e4e888f546ef27cebe9c3aede 100644
(file)
--- a/
src/backend/access/nbtree/nbtsort.c
+++ b/
src/backend/access/nbtree/nbtsort.c
@@
-5,7
+5,7
@@
*
*
* IDENTIFICATION
- * $Id: nbtsort.c,v 1.1
1 1997/02/22 10:04:16 vadim
Exp $
+ * $Id: nbtsort.c,v 1.1
2 1997/02/25 03:38:23 scrappy
Exp $
*
* NOTES
*
@@
-171,7
+171,7
@@
_bt_isortcmp(BTSortKey *k1, BTSortKey *k2)
if ( _bt_inspool->isunique )
{
_bt_spooldestroy ((void*)_bt_inspool);
- elog (WARN, "Cannot
insert a duplicate key into a unique index.
");
+ elog (WARN, "Cannot
create unique index. Table contains non-unique values
");
}
return(0); /* 1 = 2 */
}