> Hey Alex,
>
> well, ok, DSN 8-) ... I tested the following script:
>
> SNIP
Ok Chris, then if you try your script with a non existent user, you should
get something like:
PHP Warning: pg_pconnect() unable to connect to PostgreSQL server: FATAL:
user "foo" does no
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey Alex,
well, ok, DSN 8-) ... I tested the following script:
SNIP
- --TEST--
DB_pgsql::connect test
- --FILE--
connection)) {
print "\$dbh is connected\n";
}
?>
- --EXPECT--
$dbh is an object
$dbh is connected
*
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi,
>
> I'm trying to setup squirrelmail use PostgreSQL for addressbook and
> preferences but have no success with it ...
>
> Even so I created a database, added the tables as instructed in the
> docs and checked that PEAR DB has access to post