Summary | H4 backends.php SQL config does not work with postgres |
Queue | Gollem |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | jan (at) horde (dot) org |
Requester | iron_hat (at) hotmail (dot) com |
Created | 09/01/2011 (5054 days ago) |
Due | |
Updated | 09/02/2011 (5053 days ago) |
Assigned | 09/01/2011 (5054 days ago) |
Resolved | 09/02/2011 (5053 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
Don't pass 'table' parameter to Horde_Db (
Bug #10472).1 files changed, 3 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/a2082d825a03b150297357242a64a10162034b92
'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.
State ⇒ Feedback
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ H4 backends.php SQL config does not work with postgres
Queue ⇒ Gollem
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
name parameter should not be passed. The lines in question are on
180/181 and 217/218 of config/backends.php.dist