fix grant for postgresql user