diff options
Diffstat (limited to 'perllib/FixMyStreet.pm')
-rw-r--r-- | perllib/FixMyStreet.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/perllib/FixMyStreet.pm b/perllib/FixMyStreet.pm index d63f708d2..bea41910a 100644 --- a/perllib/FixMyStreet.pm +++ b/perllib/FixMyStreet.pm @@ -121,7 +121,11 @@ sub dbic_connect_info { AutoCommit => 1, pg_enable_utf8 => 1, }; - my $dbic_args = {}; + + # need this to stop issues with user being a reserved word in postgres + my $dbic_args = { + quote_char => '"', + }; return [ $dsn, $user, $password, $dbi_args, $dbic_args ]; } |