enable REST in postgres