Merging postgresql snapshot/restore