Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

We can't create a multiple connection with Pgsql #129

Open
GeeH opened this issue Jun 28, 2016 · 1 comment
Open

We can't create a multiple connection with Pgsql #129

GeeH opened this issue Jun 28, 2016 · 1 comment

Comments

@GeeH
Copy link
Contributor

GeeH commented Jun 28, 2016

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.html


Original 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 in ServiceManager.

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


@michalbundyra
Copy link
Member

This repository has been closed and moved to laminas/laminas-db; a new issue has been opened at laminas/laminas-db#119.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants