X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3D0A953561 for ; Fri, 29 Apr 2005 13:31:45 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 25452-07 for ; Fri, 29 Apr 2005 16:31:36 +0000 (GMT) Received: from web25605.mail.ukl.yahoo.com (web25605.mail.ukl.yahoo.com [217.12.10.164]) by svr1.postgresql.org (Postfix) with SMTP id E8FFD53532 for ; Fri, 29 Apr 2005 13:31:35 -0300 (ADT) Received: (qmail 69634 invoked by uid 60001); 29 Apr 2005 16:31:34 -0000 Message-ID: <20050429163134.69632.qmail@web25605.mail.ukl.yahoo.com> Received: from [84.247.192.193] by web25605.mail.ukl.yahoo.com via HTTP; Fri, 29 Apr 2005 18:31:34 CEST Date: Fri, 29 Apr 2005 18:31:34 +0200 (CEST) From: Mauro Bertoli Subject: PHP postgres connections To: pgsql-sql@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.286 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200504/408 X-Sequence-Number: 21301 Hi, I need to connect to 2 differents Postgres 8.0.0 databases located in the same machine using the same PHP script with an "db wrapper object" instance (pg_Connect)... simply a PHP page with contemporarily 2 database connections... What's the best practice ? Can I use however persistent connections ? Thanks, Mauro B. ___________________________________ Nuovo Yahoo! Messenger: E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica… Scaricalo ora! http://it.messenger.yahoo.it