]> granicus.if.org Git - postgresql/commitdiff
Fix obsolete error message (isImmutable doesn't exist).
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Jan 2003 15:18:50 +0000 (15:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Jan 2003 15:18:50 +0000 (15:18 +0000)
src/backend/commands/indexcmds.c

index 5447780b69e2f8e0f8b56b5ed78cff4b1394019e..56f63618f679f88f145ec7d125e9114f8d4d1a19 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.92 2002/10/21 22:06:19 tgl Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.92.2.1 2003/01/23 15:18:50 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -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 */