Re: Problems with DB in 4.2.0

From: Date: Tue, 09 Apr 2002 16:21:30 +0000
Subject: Re: Problems with DB in 4.2.0
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5279@lists.php.net to get a copy of this message
El mar, 09-04-2002 a las 17:34, Edin Kadribasic escribió: > I'm using "pgsql://ek:@/ekpops" as pear connect string. This used to work > until I upgraded to PHP 4.2.0 where this is translated to "host= > dbname=ekpops user=ek" pgsql connect string. Postgres refuses empy host in > the connect string. > > When looking at the code, I can see that the problem is introduced when > support for protocol was added to pear connect strings. Hope this doesn't > make it into PHP 4.2.0 release. > Well, is not a really a fail, but it's true we can make a workarround to it. I'm going to commit a patch (fallback to localhost if no hostspec is given). Tomas V.V.Cox

« previous php.pear.dev (#5279) next »