1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Various message fixes, among those fixes for the previous round of fixes

This commit is contained in:
Peter Eisentraut
2003-09-26 15:27:37 +00:00
parent 98150f108f
commit d84b6ef56b
18 changed files with 46 additions and 44 deletions

View File

@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/opclasscmds.c,v 1.20 2003/09/25 06:57:58 petere Exp $
* $Header: /cvsroot/pgsql/src/backend/commands/opclasscmds.c,v 1.21 2003/09/26 15:27:31 petere Exp $
*
*-------------------------------------------------------------------------
*/
@ -284,10 +284,10 @@ DefineOpClass(CreateOpClassStmt *stmt)
if (opclass->opcintype == typeoid && opclass->opcdefault)
ereport(ERROR,
(errcode(ERRCODE_DUPLICATE_OBJECT),
errmsg("could not make class \"%s\" be default for type %s",
errmsg("could not make operator class \"%s\" be default for type %s",
opcname,
TypeNameToString(stmt->datatype)),
errdetail("Class \"%s\" already is the default.",
errdetail("Operator class \"%s\" already is the default.",
NameStr(opclass->opcname))));
}