File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ rum_page_opaque_info(PG_FUNCTION_ARGS)
318
318
values [3 ] = Int32GetDatum (opaq -> freespace );
319
319
320
320
#if PG_VERSION_NUM >= 160000
321
- values [4 ] = ItemPointerGetDatum (construct_array_builtin (flags , nflags , TEXTOID ));
321
+ values [4 ] = PointerGetDatum (construct_array_builtin (flags , nflags , TEXTOID ));
322
322
#else
323
323
values [4 ] = PointerGetDatum (construct_array (flags , nflags ,
324
324
TEXTOID , -1 , false, TYPALIGN_INT ));
@@ -1478,6 +1478,7 @@ get_datum_text_by_oid(Datum info, Oid info_oid)
1478
1478
str_info = OidOutputFunctionCall (F_FLOAT8OUT , info );
1479
1479
break ;
1480
1480
1481
+ #if PG_VERSION_NUM >= 140000
1481
1482
/*
1482
1483
* TODO: The oid of the function for displaying this
1483
1484
* type as text could not be found.
@@ -1486,6 +1487,7 @@ get_datum_text_by_oid(Datum info, Oid info_oid)
1486
1487
/* str_addInfo = OidOutputFunctionCall(, addInfo); */
1487
1488
/* break; */
1488
1489
return CStringGetTextDatum ("MONEYOID is not supported" );
1490
+ #endif
1489
1491
1490
1492
case OIDOID :
1491
1493
str_info = OidOutputFunctionCall (F_OIDOUT , info );
You can’t perform that action at this time.
0 commit comments