Re: MDB2 and PostgreSQL

From: Date: Mon, 13 Nov 2006 16:03:13 +0000
Subject: Re: MDB2 and PostgreSQL
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-25801@lists.php.net to get a copy of this message
On 11/12/06, brian <brian@zijn-digital.com> wrote:
Alain Roger wrote: Hi, I'm still working around my issue with MDB2 and MDB2_Driver_postgres
                       $db2 = & new MDB2_Driver_pgsql();
                       $db2->connect($dsn);
/* ********************************** * This is the important difference * ********************************** */ $db2 =& MDB2::connect($dsn, $options);
Yes, you should be using MDB2::connect, not instantiating the driver manually. -- Justin Patrin

« previous php.pear.general (#25801) next »