--- a/compat16/pglogical_compat.h
+++ b/compat16/pglogical_compat.h
@@ -111,3 +111,14 @@
 	EvalPlanQualInit(epqstate, parentestate, subplan, auxrowmarks, epqParam, NIL)
 
 #endif
+
+#define PGL_PG_TRY(...) PG_TRY()
+#define PGL_PG_CATCH(...) PG_CATCH()
+#define PGL_PG_FINALLY(...) PG_FINALLY()
+#define PGL_PG_END_TRY(...) PG_END_TRY()
+
+#define PGL_PG_ENSURE_ERROR_CLEANUP(cleanup_function, arg, suffix)	\
+	PG_ENSURE_ERROR_CLEANUP(cleanup_function, arg)
+
+#define PGL_PG_END_ENSURE_ERROR_CLEANUP(cleanup_function, arg, suffix)	\
+	PG_END_ENSURE_ERROR_CLEANUP(cleanup_function, arg)
