Received: from mail.ipatimup.pt (peterpan.ipatimup.pt [194.65.114.74]) by postgresql.org (Postfix) with ESMTP id 7090F475A59 for ; Tue, 16 Apr 2002 19:34:24 -0400 (EDT) Received: from ipatimup.pt (localhost [127.0.0.1]) by mail.ipatimup.pt (8.11.6/8.11.6-IPATIMUP) with SMTP id g3GNLWJ25071 for ; Wed, 17 Apr 2002 00:21:32 +0100 X-RAV-AntiVirus: This e-mail has been scanned for viruses on host: mail.ipatimup.pt Received: from 213.30.9.100 (SquirrelMail authenticated user miguel) by www.ipatimup.pt with HTTP; Wed, 17 Apr 2002 00:21:32 +0100 (WEST) Message-ID: <1207.213.30.9.100.1018999292.squirrel@www.ipatimup.pt> Date: Wed, 17 Apr 2002 00:21:32 +0100 (WEST) Subject: PHP die but PG doesnt have roolbacked the transaction From: "Miguel Carvalho" To: X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Reply-To: miguel@ipatimup.pt X-Mailer: SquirrelMail (version 1.2.2) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Archive-Number: 200204/34 X-Sequence-Number: 1058 Hi, for the subject you are seeing what is my problem, but i will give some more info. PHP version: 4.1.2 OS: Linux, Suse 7 PG version: 7.1.2 A PHP script has die with an error( a typo ) saying something like this: missing parameter 1 for funcion my_function ... As far as i know, when a connection to a database is lost( i use pg_connect ) and the database server is executing in NOT auto commit mode( using transactions ), the transaction is roolbacked enterely. Isnt this right? Question: Why does the transaction doesnt got roobacked? Is this a bug in PHP? Is this a bug in PG? Regards Miguel Carvalho