aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/partitionfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/adt/partitionfuncs.c')
-rw-r--r--src/backend/utils/adt/partitionfuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/utils/adt/partitionfuncs.c b/src/backend/utils/adt/partitionfuncs.c
index fe19007970d..6062f21db48 100644
--- a/src/backend/utils/adt/partitionfuncs.c
+++ b/src/backend/utils/adt/partitionfuncs.c
@@ -92,7 +92,7 @@ pg_partition_tree(PG_FUNCTION_ARGS)
funcctx->tuple_desc = tupdesc;
/* The only state we need is the partition list */
- funcctx->user_fctx = (void *) partitions;
+ funcctx->user_fctx = partitions;
MemoryContextSwitchTo(oldcxt);
}
@@ -219,7 +219,7 @@ pg_partition_ancestors(PG_FUNCTION_ARGS)
ancestors = lcons_oid(relid, ancestors);
/* The only state we need is the ancestors list */
- funcctx->user_fctx = (void *) ancestors;
+ funcctx->user_fctx = ancestors;
MemoryContextSwitchTo(oldcxt);
}