File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 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)
318318 values [3 ] = Int32GetDatum (opaq -> freespace );
319319
320320#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 ));
322322#else
323323 values [4 ] = PointerGetDatum (construct_array (flags , nflags ,
324324 TEXTOID , -1 , false, TYPALIGN_INT ));
@@ -1478,6 +1478,7 @@ get_datum_text_by_oid(Datum info, Oid info_oid)
14781478 str_info = OidOutputFunctionCall (F_FLOAT8OUT , info );
14791479 break ;
14801480
1481+ #if PG_VERSION_NUM >= 140000
14811482 /*
14821483 * TODO: The oid of the function for displaying this
14831484 * type as text could not be found.
@@ -1486,6 +1487,7 @@ get_datum_text_by_oid(Datum info, Oid info_oid)
14861487 /* str_addInfo = OidOutputFunctionCall(, addInfo); */
14871488 /* break; */
14881489 return CStringGetTextDatum ("MONEYOID is not supported" );
1490+ #endif
14891491
14901492 case OIDOID :
14911493 str_info = OidOutputFunctionCall (F_OIDOUT , info );
You can’t perform that action at this time.
0 commit comments