From: Tom Lane Date: Thu, 23 Jan 2003 15:18:50 +0000 (+0000) Subject: Fix obsolete error message (isImmutable doesn't exist). X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=e5c89d39ce77d9b7af24d771c463fc549ec0dd7b;p=users%2Fbernd%2Fpostgres.git Fix obsolete error message (isImmutable doesn't exist). --- diff --git a/src/backend/commands/indexcmds.c b/src/backend/commands/indexcmds.c index dd94ad0427..d101035cff 100644 --- a/src/backend/commands/indexcmds.c +++ b/src/backend/commands/indexcmds.c @@ -258,7 +258,7 @@ CheckPredicate(List *predList, List *rangeTable, Oid baseRelOid) * reasons that we don't allow a functional index to use one. */ if (contain_mutable_functions((Node *) predList)) - elog(ERROR, "Functions in index predicate must be marked isImmutable"); + elog(ERROR, "Functions in index predicate must be marked IMMUTABLE"); } @@ -347,7 +347,7 @@ FuncIndexArgs(IndexInfo *indexInfo, * time, it's not clear what the index entries mean at all. */ if (func_volatile(funcid) != PROVOLATILE_IMMUTABLE) - elog(ERROR, "DefineIndex: index function must be marked isImmutable"); + elog(ERROR, "DefineIndex: index function must be marked IMMUTABLE"); /* Process opclass, using func return type as default type */