aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/command.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2001-10-31 04:49:44 +0000
committerBruce Momjian <bruce@momjian.us>2001-10-31 04:49:44 +0000
commit4911c85e86a8491e97032515dee59a9612ba7e3a (patch)
treecb6bb426f852d013505d8a540db1e4967a9a52f3 /src/backend/commands/command.c
parent74c2f8e72915e058f83776d655711315440ae2b2 (diff)
downloadpostgresql-4911c85e86a8491e97032515dee59a9612ba7e3a.tar.gz
postgresql-4911c85e86a8491e97032515dee59a9612ba7e3a.zip
Add ALTER TABLE ADD UNIQUE regression tests from Christopher Kings-Lynne.
Add space between slash for ALTER TABLE / ADD .... Regression and *.po updates to follow.
Diffstat (limited to 'src/backend/commands/command.c')
-rw-r--r--src/backend/commands/command.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/command.c b/src/backend/commands/command.c
index 4100e775573..b9cfee96e4f 100644
--- a/src/backend/commands/command.c
+++ b/src/backend/commands/command.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.147 2001/10/28 06:25:42 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.148 2001/10/31 04:49:43 momjian Exp $
*
* NOTES
* The PerformAddAttribute() code, like most of the relation
@@ -1432,7 +1432,7 @@ AlterTableAddConstraint(char *relationName,
0, 0, 0);
if (!HeapTupleIsValid(indexTuple))
- elog(ERROR, "ALTER TABLE/ADD CONSTRAINT: Index \"%u\" not found",
+ elog(ERROR, "ALTER TABLE / ADD CONSTRAINT: Index \"%u\" not found",
indexoid);
indexStruct = (Form_pg_index) GETSTRUCT(indexTuple);
@@ -1510,7 +1510,7 @@ AlterTableAddConstraint(char *relationName,
NIL);
/* Issue notice */
- elog(NOTICE, "ALTER TABLE/ADD UNIQUE will create implicit index '%s' for table '%s'",
+ elog(NOTICE, "ALTER TABLE / ADD UNIQUE will create implicit index '%s' for table '%s'",
iname, relationName);
if (index_found)
elog(NOTICE, "Unique constraint supercedes existing index on relation \"%s\". Drop the existing index to remove redundancy.", relationName);