]> 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:40 +0000 (15:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 23 Jan 2003 15:18:40 +0000 (15:18 +0000)
src/backend/commands/indexcmds.c

index df7e358b8976ec1dbd0960f8879d3862253adeb0..10d240d6d148ba0d9e5593796dd24d0f29b3471c 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.96 2003/01/02 19:29:22 tgl Exp $
+ *       $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.97 2003/01/23 15:18:40 tgl Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -304,7 +304,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");
 }
 
 
@@ -393,7 +393,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 */