X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E5C399FA0EC for ; Sat, 27 May 2006 11:42:16 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 68280-04 for ; Sat, 27 May 2006 11:42:05 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from bugs.unl.edu.ar (bugs.unl.edu.ar [168.96.132.208]) by postgresql.org (Postfix) with ESMTP id 05F5B9FA490 for ; Sat, 27 May 2006 11:42:04 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by bugs.unl.edu.ar (Postfix) with ESMTP id C992113899; Sat, 27 May 2006 11:39:54 -0300 (ART) Received: from bugs.unl.edu.ar ([127.0.0.1]) by localhost (bugs.unl.edu.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Bdb2nY6zske; Sat, 27 May 2006 11:39:54 -0300 (ART) Received: by bugs.unl.edu.ar (Postfix, from userid 1000) id 03727138BE; Sat, 27 May 2006 11:39:53 -0300 (ART) Received: from localhost (localhost [127.0.0.1]) by bugs.unl.edu.ar (Postfix) with ESMTP id D5C3013899; Sat, 27 May 2006 11:39:53 -0300 (ART) Date: Sat, 27 May 2006 11:39:53 -0300 (ART) From: Martin Marques To: Cornelia Boenigk cc: pgsql-php@postgresql.org Subject: Re: 2 distinct connections In-Reply-To: <44785042.40003@cornelia-boenigk.de> Message-ID: References: <44785042.40003@cornelia-boenigk.de> MIME-Version: 1.0 X-Virus-Scanned: Maia Mailguard 1.0.1 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE X-Archive-Number: 200605/24 X-Sequence-Number: 3524 On Sat, 27 May 2006, Cornelia Boenigk wrote: > Hi Martin > > Did you try passing the constant PGSQL_CONNECT_FORCE_NEW to the=20 > Debug-connect? Excelente. I forgot to say that I'm working with PEAR::DB, and just found= =20 this in DB/pgsql.php: if (isset($dsn['new_link']) && ($dsn['new_link'] =3D=3D 'true' || $dsn['new_link'] =3D=3D= =3D true)) { if (version_compare(phpversion(), '4.3.0', '>=3D')) { $params[] =3D 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=EDn Marqu=E9s | SELECT 'mmarques' ||=20 Centro de Telem=E1tica | '@' || 'unl.edu.ar'; Universidad Nacional | DBA, Programador, del Litoral | Administrador ---------------------------------------------------------=