pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Marques <martin@bugs.unl.edu.ar>
To: Cornelia Boenigk <poppcorn@cornelia-boenigk.de>
Cc: pgsql-php@postgresql.org
Subject: Re: 2 distinct connections
Date: Sat, 27 May 2006 11:39:53 -0300 (ART)
Message-ID: <Pine.LNX.4.61.0605271130340.21989@bugs.unl.edu.ar> (raw)
In-Reply-To: <44785042.40003@cornelia-boenigk.de>
References: <Pine.LNX.4.61.0605270916100.21989@bugs.unl.edu.ar>
	<44785042.40003@cornelia-boenigk.de>

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


view thread (4+ messages)  latest in thread

Message-ID: <Pine.LNX.4.61.0605271130340.21989@bugs.unl.edu.ar>
Permalink:  ../Pine.LNX.4.61.0605271130340.21989@bugs.unl.edu.ar/
Also on:    postgresql.org/message-id/Pine.LNX.4.61.0605271130340.21989@bugs.unl.edu.ar

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: martin@bugs.unl.edu.ar, poppcorn@cornelia-boenigk.de
  Subject: Re: 2 distinct connections
  In-Reply-To: <Pine.LNX.4.61.0605271130340.21989@bugs.unl.edu.ar>
  References: <Pine.LNX.4.61.0605270916100.21989@bugs.unl.edu.ar> <44785042.40003@cornelia-boenigk.de> <Pine.LNX.4.61.0605271130340.21989@bugs.unl.edu.ar>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox