#pragma once extern "C" { #include "postgres.h" #include "fmgr.h" } extern "C" { Datum dbms_logrep_exp_version_var2_2_number(PG_FUNCTION_ARGS); }