Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ae6b49b

Browse files
committed
fixes for MS compiler
1 parent 4e2d48c commit ae6b49b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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)