From f31dc0ada731d89313dbca7ef5da91d674fc640c Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 16 Jul 2001 05:07:00 +0000 Subject: Partial indexes work again, courtesy of Martijn van Oosterhout. Note: I didn't force an initdb, figuring that one today was enough. However, there is a new function in pg_proc.h, and pg_dump won't be able to dump partial indexes until you add that function. --- src/backend/commands/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/commands/command.c') diff --git a/src/backend/commands/command.c b/src/backend/commands/command.c index 4fcbeeceb6c..744129f726f 100644 --- a/src/backend/commands/command.c +++ b/src/backend/commands/command.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.135 2001/07/15 22:48:17 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.136 2001/07/16 05:06:57 tgl Exp $ * * NOTES * The PerformAddAttribute() code, like most of the relation @@ -1882,7 +1882,7 @@ AlterTableCreateToastTable(const char *relationName, bool silent) indexInfo->ii_NumIndexAttrs = 1; indexInfo->ii_NumKeyAttrs = 1; indexInfo->ii_KeyAttrNumbers[0] = 1; - indexInfo->ii_Predicate = NULL; + indexInfo->ii_Predicate = NIL; indexInfo->ii_FuncOid = InvalidOid; indexInfo->ii_Unique = false; -- cgit v1.2.3