Skip to content

Commit 0a51f9d

Browse files
committed
Merge commit 'ae6b49b117535889eaad037992d45cb99ca63b9c' into PGPRO9_6_pathman
2 parents 6ea6f07 + ae6b49b commit 0a51f9d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

contrib/pg_pathman/src/pl_range_funcs.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,10 @@ get_part_range_by_oid(PG_FUNCTION_ARGS)
269269
if (ranges[i].child_oid == partition_relid)
270270
{
271271
ArrayType *arr;
272-
Bound elems[2] = { ranges[i].min, ranges[i].max };
272+
Bound elems[2];
273+
274+
elems[0] = ranges[i].min;
275+
elems[1] = ranges[i].max;
273276

274277
arr = construct_infinitable_array(elems, 2,
275278
prel->atttype, prel->attlen,

0 commit comments

Comments
 (0)