From 4911c85e86a8491e97032515dee59a9612ba7e3a Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 31 Oct 2001 04:49:44 +0000 Subject: 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. --- src/backend/commands/command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/commands/command.c') 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); -- cgit v1.2.3