Re: 2 distinct connections

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, 27 May 2006, Cornelia Boenigk wrote:

Hi Martin

Did you try passing the constant PGSQL_CONNECT_FORCE_NEW to the Debug-connect?

Excelente. I forgot to say that I'm working with PEAR::DB, and just found this in DB/pgsql.php:

        if (isset($dsn['new_link'])
            && ($dsn['new_link'] == 'true' || $dsn['new_link'] === true))
        {
            if (version_compare(phpversion(), '4.3.0', '>=')) {
                $params[] = PGSQL_CONNECT_FORCE_NEW;
            }
        }

I always forget to "use the source Luke!" :-)

thanks!

--
 21:50:04 up 2 days,  9:07,  0 users,  load average: 0.92, 0.37, 0.18
---------------------------------------------------------
Lic. Martín Marqués | SELECT 'mmarques' || Centro de Telemática | '@' || 'unl.edu.ar';
Universidad Nacional        |   DBA, Programador,
    del Litoral             |   Administrador
---------------------------------------------------------

[Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

Add to Google Powered by Linux