Possible bug in pg_connect (4.0.3.pl1) ?
| From: | Evelio Martinez | Date: | Mon, 05 Feb 2001 11:45:21 +0000 |
| Subject: | Possible bug in pg_connect (4.0.3.pl1) ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-38214@lists.php.net to get a copy of this message | ||
Hi!
under 4.0.3pl1
Why this sentence works ?
$conexion2 = pg_Connect("host=$servidor user=$usuario password=$pass
dbname=$bd port=$puerto");
and this one does not ?
$conexion2 = pg_Connect("host=$servidor port=$puerto user=$usuario
password=$pass dbname=$bd");
It issues the following message
Warning: 1 is not a valid PostgreSQL link resource
--
Evelio Martínez
Testanet. Dept. desarrollo software.
Av. Reino de Valencia, 15 - 5
46005 Valencia (Spain)
Tel: +34 96 395 90 00
Fax: +34 96 316 23 19