support more options in postgresql plugin