I applied this patch in my branch with CI hacks to show code coverage on cirrus. https://api.cirrus-ci.com/v1/artifact/task/6186186539532288/coverage/coverage/00-index.html
Eyeballing it looks good. But GetActionsInPublication() isn't being hit at all? I think the queries in pg_dump should be written with the common portions of the query outside the conditional. -- Justin