update postgresql support to actually work