[Bug 1084010] postgresql driver: wrong syntax