From: Miguel Carvalho <miguel@ipatimup.pt>
To: pgsql-php@postgresql.org
Subject: PHP die but PG doesnt have roolbacked the transaction
Date: Wed, 17 Apr 2002 00:21:32 +0100 (WEST)
Message-ID: <1207.213.30.9.100.1018999292.squirrel@www.ipatimup.pt> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: miguel@ipatimup.pt
Subject: Re: PHP die but PG doesnt have roolbacked the transaction
In-Reply-To: <1207.213.30.9.100.1018999292.squirrel@www.ipatimup.pt>
References: <1207.213.30.9.100.1018999292.squirrel@www.ipatimup.pt>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox