You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use a multiple connection with pgsql adapter, but it always retrieve the same PHP resource, even setting a multiple configuration in ServiceManager.
If we use same configuration in both connections, we'll always receive same resource. But if we pass PGSQL_CONNECT_FORCE_NEW parameter, all works fine.
This issue has been moved from the
zendframework
repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.htmlOriginal Issue: https://api.github.com/repos/zendframework/zendframework/issues/7377
User: @wandersonwhcr
Created On: 2015-03-27T19:54:03Z
Updated At: 2015-04-03T01:47:43Z
Body
Olá pessoas!
I'm trying to use a multiple connection with
pgsql
adapter, but it always retrieve the same PHP resource, even setting a multiple configuration inServiceManager
.Why?
http://php.net/manual/en/function.pg-connect.php
If we use same configuration in both connections, we'll always receive same resource. But if we pass
PGSQL_CONNECT_FORCE_NEW
parameter, all works fine.8d603705 master Zend\Db\Adapter\Driver\Pgsql\Connection
Thanks.
Comment
User: @samsonasik
Created On: 2015-04-03T01:47:43Z
Updated At: 2015-04-03T01:47:43Z
Body
linked with #7396
Originally posted by @GeeH at zendframework/zend-db#129
The text was updated successfully, but these errors were encountered: