diff options
-rwxr-xr-x | LedgerSMB.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LedgerSMB.pm b/LedgerSMB.pm index ee849723..8e55b933 100755 --- a/LedgerSMB.pm +++ b/LedgerSMB.pm @@ -528,6 +528,8 @@ sub db_init { my $dbh = DBI->connect($myconfig->{dbconnect}, $myconfig->{dbuser}, $myconfig->{dbpasswd}, {AutoCommit => 0}) or $self->dberror; + $dbh->{pg_server_prepare} = 0; + if ($myconfig->{dboptions}) { $dbh->do($myconfig->{dboptions}); } |