pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mauro Bertoli <bertolima@yahoo.it>
To: pgsql-sql@postgresql.org
Subject: PHP postgres connections
Date: Fri, 29 Apr 2005 18:31:34 +0200 (CEST)
Message-ID: <20050429163134.69632.qmail@web25605.mail.ukl.yahoo.com> (raw)

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



view thread (4+ messages)  latest in thread

Message-ID: <20050429163134.69632.qmail@web25605.mail.ukl.yahoo.com>
Permalink:  ../20050429163134.69632.qmail@web25605.mail.ukl.yahoo.com/
Also on:    postgresql.org/message-id/20050429163134.69632.qmail@web25605.mail.ukl.yahoo.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bertolima@yahoo.it
  Subject: Re: PHP postgres connections
  In-Reply-To: <20050429163134.69632.qmail@web25605.mail.ukl.yahoo.com>

* 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