PHP die but PG doesnt have roolbacked the transaction

From: "Miguel Carvalho" <miguel(at)ipatimup(dot)pt>
To: <pgsql-php(at)postgresql(dot)org>
Subject: PHP die but PG doesnt have roolbacked the transaction
Date: 2002-04-16 23:21:32
Message-ID: 1207.213.30.9.100.1018999292.squirrel@www.ipatimup.pt
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Areski Belaid 2002-04-17 08:38:21 Unicode Secret
Previous Message Cornelia Boenigk 2002-04-12 10:30:09 Re: PostgreSQL+PHP+Win98