Mon Jun 25, 2018
Fixes and improvements:
Fix "permission denied for relation bdr_conflict_handlers" errors during apply when a user procedure executed during apply sets the current user and doesn't restore it on exit. The error logs will show:
apply ERROR: permission denied for relation bdr_conflict_handlers apply CONTEXT: SQL statement "SELECT ch_fun::regprocedure, ch_type::text ch_type, ch_timeframe FROM bdr.bdr_conflict_handlers WHERE ch_reloid = $1 ORDER BY ch_type, ch_name"
for such a case.