Fix postgres spec to not rely on ID