mirror of
https://github.com/processone/ejabberd
synced 2025-10-05 19:42:11 +02:00
Explicitly set standard_conforming_strings to off with PostreSQL
This commit is contained in:
parent
51508a9fc3
commit
b7726ee392
1 changed files with 1 additions and 0 deletions
|
@ -502,6 +502,7 @@ pgsql_connect(Server, Port, DB, Username, Password) ->
|
|||
{ok, Ref} ->
|
||||
pgsql:squery(Ref, [<<"alter database ">>, DB, <<" set ">>,
|
||||
<<"standard_conforming_strings='off';">>]),
|
||||
pgsql:squery(Ref, [<<"set standard_conforming_strings to 'off';">>]),
|
||||
{ok, Ref};
|
||||
Err ->
|
||||
Err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue