third try: fix user permissionfor postgres #938