Update "postgresql" tests: builds, needs cleanup

Update the "postgresql-test" suite in line with unification of
DataSourceAction and RetconHandler monads.

These tests still need to be cleaned up to, e.g., avoid thrashing the
retcon state unnecessarily in each case.