Re: 2 distinct connections

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: Cornelia Boenigk <poppcorn(at)cornelia-boenigk(dot)de>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: 2 distinct connections
Date: 2006-05-27 14:39:53
Message-ID: Pine.LNX.4.61.0605271130340.21989@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Volkan YAZICI 2006-05-27 14:40:30 Re: 2 distinct connections
Previous Message Cornelia Boenigk 2006-05-27 13:12:34 Re: 2 distinct connections