[postgres] Support 4.x
[memcached] Fix memcached tests so they can run properly in isolation