[Tickets #10472] Re: H4 backends.php SQL config does not work with postgres

bugs at horde.org bugs at horde.org
Fri Sep 2 00:32:18 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10472
------------------------------------------------------------------------------
  Ticket             | 10472
  Updated By         | iron_hat at hotmail.com
  Summary            | H4 backends.php SQL config does not work with postgres
  Queue              | Gollem
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


iron_hat at hotmail.com (2011-09-02 00:32) wrote:

> Can you please elaborate?

When gollem/config/backends.php lines 180 and 181 are:
     'params' => array_merge($GLOBALS['conf']['sql'],
                             array('table' => 'horde_vfs')),

Gollem will return the following error:
Could not instantiate PDO with DSN  
"pgsql:table=horde_vfs;host=<host>;dbname=<dbname>". PDOException:  
SQLSTATE[08006] [7] invalid connection option "table"

Where <host> and <dbname> are installation specific.

When the line is changed to
     'params' => $GLOBALS['conf']['sql'],

The application performs as expected.





More information about the bugs mailing list