Skip to content

Commit 36777c1

Browse files
committed
Fix obsolete error message (isImmutable doesn't exist).
1 parent 790d5bc commit 36777c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/commands/indexcmds.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.96 2003/01/02 19:29:22 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.97 2003/01/23 15:18:40 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -304,7 +304,7 @@ CheckPredicate(List *predList, List *rangeTable, Oid baseRelOid)
304304
* reasons that we don't allow a functional index to use one.
305305
*/
306306
if (contain_mutable_functions((Node *) predList))
307-
elog(ERROR, "Functions in index predicate must be marked isImmutable");
307+
elog(ERROR, "Functions in index predicate must be marked IMMUTABLE");
308308
}
309309

310310

@@ -393,7 +393,7 @@ FuncIndexArgs(IndexInfo *indexInfo,
393393
* time, it's not clear what the index entries mean at all.
394394
*/
395395
if (func_volatile(funcid) != PROVOLATILE_IMMUTABLE)
396-
elog(ERROR, "DefineIndex: index function must be marked isImmutable");
396+
elog(ERROR, "DefineIndex: index function must be marked IMMUTABLE");
397397

398398
/* Process opclass, using func return type as default type */
399399

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy