Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 6429B4769A5 for ; Thu, 29 Aug 2002 08:57:31 -0400 (EDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by postgresql.org (Postfix) with ESMTP id 35AFE476956 for ; Thu, 29 Aug 2002 08:55:29 -0400 (EDT) Received: from [212.227.126.162] (helo=mrelayng3.kundenserver.de) by moutng3.kundenserver.de with esmtp (Exim 3.35 #2) id 17kOpf-0003aJ-00 for pgsql-php@postgresql.org; Thu, 29 Aug 2002 14:55:31 +0200 Received: from [213.7.19.188] (helo=zwerg98) by mrelayng3.kundenserver.de with asmtp (Exim 3.35 #2) id 17kOpe-0004Xl-00 for pgsql-php@postgresql.org; Thu, 29 Aug 2002 14:55:31 +0200 Message-ID: <007c01c24f5b$cc8e6ee0$7f54fea9@zwerg98> Reply-To: "Cornelia Boenigk" From: "Cornelia Boenigk" To: "Postgres-PHP" References: Subject: Re: Where can I get error messages? Date: Thu, 29 Aug 2002 14:57:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/105 X-Sequence-Number: 1450 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