Fixing double quotes for postgres. Fixes #874.