Similar to recent pg_upgrade changes(https://commitfest.postgresql.org/action/patch_view?id=1216) here is apatch to separate the terminating and nonterminating variants ofmmerror() in ecpg.