postgresql plugin: fix some stylistic issues