// utl_ref.hpp #pragma once extern "C" { #include "fmgr.h" } extern "C" { // UTL_REF Datum utl_ref_delete_object(PG_FUNCTION_ARGS); // ref IN Datum utl_ref_lock_object1(PG_FUNCTION_ARGS); // ref IN Datum utl_ref_lock_object2(PG_FUNCTION_ARGS); // ref IN, object OUT (record) Datum utl_ref_select_object(PG_FUNCTION_ARGS); // ref IN, object OUT (record) Datum utl_ref_update_object(PG_FUNCTION_ARGS); // ref IN, object IN Datum utl_ref_update_obj_v2(PG_FUNCTION_ARGS); // ref IN, object IN, options IN Datum utl_ref_get_version(PG_FUNCTION_ARGS); }