grant access problem in postgresql db