Hi Andrey
> Can't find any documents about "DB::connect" at www.php.net :(
So check the pear-doku.
> And why "pg_connect" does not work properly?
You are using a persistent connection in your example, but anyway,
your code is working for me perfectly.
To get errormessages try out pg_last_error() or pg_result_error().
Regards
Conni