If you use postgres as db backend for joomla, and there is a pgpool istance in the middle, you will have to deal with this bug:
http://www.sraoss.jp/pipermail/pgpool-general/2013-August/002124.html
in /libraries/joomla/database/driver/postgresql.php there is a function "connect()", that after the connection sends a query
pg_query('SET standard_conforming_strings=off');
for pgpool that will not work.
you should change the dns param
from
$dsn .= "dbname={$this->options['database']} user={$this->options['user']} password={$this->options['password']}";
to
$dsn .= "dbname={$this->options['database']} user={$this->options['user']} password={$this->options['password']} options='-c standard_conforming_strings=off'";
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-03-10 15:53:45 |
Closed_By | ⇒ | brianteeman |
I have created a PR for this with your code - please test #9362
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8476.