@@ -119,7 +119,7 @@ find_or_create_range_partition(PG_FUNCTION_ARGS)
119119RangeEntry found_rentry ;
120120search_rangerel_result search_state ;
121121
122- prel = get_pathman_relation_info (parent_oid , NULL );
122+ prel = get_pathman_relation_info (parent_oid );
123123
124124if (!prel )
125125PG_RETURN_NULL ();
@@ -190,13 +190,13 @@ get_partition_range(PG_FUNCTION_ARGS)
190190TypeCacheEntry * tce ;
191191ArrayType * arr ;
192192
193- prel = get_pathman_relation_info (parent_oid , NULL );
193+ prel = get_pathman_relation_info (parent_oid );
194194
195195if (!prel )
196196PG_RETURN_NULL ();
197197
198- ranges = PrelGetRangesArray (prel , true );
199- parts = PrelGetChildrenArray (prel , true );
198+ ranges = PrelGetRangesArray (prel );
199+ parts = PrelGetChildrenArray (prel );
200200tce = lookup_type_cache (prel -> atttype ,0 );
201201
202202/* Looking for specified partition */
@@ -279,15 +279,15 @@ get_range_by_idx(PG_FUNCTION_ARGS)
279279RangeEntry re ;
280280Datum * elems ;
281281
282- prel = get_pathman_relation_info (parent_oid , NULL );
282+ prel = get_pathman_relation_info (parent_oid );
283283if (!prel )
284284elog (ERROR ,"Cannot get partitioning cache entry for relation %u" ,parent_oid );
285285
286286if (((uint32 )abs (idx )) >=PrelChildrenCount (prel ))
287287elog (ERROR ,"Partition #%d does not exist (max is #%u)" ,
288288idx ,PrelChildrenCount (prel )- 1 );
289289
290- ranges = PrelGetRangesArray (prel , true );
290+ ranges = PrelGetRangesArray (prel );
291291if (idx >=0 )
292292re = ranges [idx ];
293293else if (idx == -1 )
@@ -316,12 +316,12 @@ get_min_range_value(PG_FUNCTION_ARGS)
316316PartRelationInfo * prel ;
317317RangeEntry * ranges ;
318318
319- prel = get_pathman_relation_info (parent_oid , NULL );
319+ prel = get_pathman_relation_info (parent_oid );
320320
321321if (!prel || prel -> parttype != PT_RANGE || PrelChildrenCount (prel )== 0 )
322322PG_RETURN_NULL ();
323323
324- ranges = PrelGetRangesArray (prel , true );
324+ ranges = PrelGetRangesArray (prel );
325325
326326PG_RETURN_DATUM (ranges [0 ].min );
327327}
@@ -336,12 +336,12 @@ get_max_range_value(PG_FUNCTION_ARGS)
336336PartRelationInfo * prel ;
337337RangeEntry * ranges ;
338338
339- prel = get_pathman_relation_info (parent_oid , NULL );
339+ prel = get_pathman_relation_info (parent_oid );
340340
341341if (!prel || prel -> parttype != PT_RANGE || PrelChildrenCount (prel )== 0 )
342342PG_RETURN_NULL ();
343343
344- ranges = PrelGetRangesArray (prel , true );
344+ ranges = PrelGetRangesArray (prel );
345345
346346PG_RETURN_DATUM (ranges [PrelChildrenCount (prel )- 1 ].max );
347347}
@@ -368,7 +368,7 @@ check_overlap(PG_FUNCTION_ARGS)
368368RangeEntry * ranges ;
369369uint32 i ;
370370
371- prel = get_pathman_relation_info (parent_oid , NULL );
371+ prel = get_pathman_relation_info (parent_oid );
372372
373373if (!prel || prel -> parttype != PT_RANGE )
374374PG_RETURN_NULL ();
@@ -377,7 +377,7 @@ check_overlap(PG_FUNCTION_ARGS)
377377fill_type_cmp_fmgr_info (& cmp_func_1 ,p1_type ,prel -> atttype );
378378fill_type_cmp_fmgr_info (& cmp_func_2 ,p2_type ,prel -> atttype );
379379
380- ranges = PrelGetRangesArray (prel , true );
380+ ranges = PrelGetRangesArray (prel );
381381for (i = 0 ;i < PrelChildrenCount (prel );i ++ )
382382{
383383int c1 = FunctionCall2 (& cmp_func_1 ,p1 ,ranges [i ].max );