pg_logical_slot_peek_binary_changes ( slot_name name, upto_lsn pg_lsn, upto_nchanges integer, VARIADIC options text[] ) → setof record ( lsn pg_lsn, xid xid, data bytea )Behaves just like the
pg_logical_slot_peek_changes() function, except that changes are returned as bytea.