DB pgsql
| From: | Brian Abent | Date: | Thu, 17 Apr 2003 23:20:47 +0000 |
| Subject: | DB pgsql | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-15226@lists.php.net to get a copy of this message | ||
Howdy,
I did a
pear upgrade DB and found my app to be broken. It seems that I am passing a string to connect() and not an array. This is how it used to work anyway. Below is a diff to pgsql.php that solved my problem.
78,83d77
<
< if (is_array($dsninfo)) {
< $this->dsn = $dsninfo;
< } else {
< $this->dsn = DB::parseDSN($dsninfo);
< }
85c79
< $dsninfo = $this->dsn;---
Here is the version string in pgsql.php: $Id: pgsql.php,v 1.16 2003/02/07 04:41:19 jon Exp $ Thanks, Brian$this->dsn = $dsninfo;