Re: [ADMIN] PHP and autocommit of PostgreSQL 7.4 - Mailing list pgsql-php

From Robert Treat
Subject Re: [ADMIN] PHP and autocommit of PostgreSQL 7.4
Date
Msg-id 1071185106.1792.8265.camel@camel
Whole thread Raw
In response to PHP and autocommit of PostgreSQL 7.4  (Sai Hertz And Control Systems <sank89@sancharnet.in>)
Responses Re: [ADMIN] PHP and autocommit of PostgreSQL 7.4
Re: [ADMIN] PHP and autocommit of PostgreSQL 7.4
List pgsql-php
On Thu, 2003-12-11 at 17:17, Peter Eisentraut wrote:
> Sai Hertz And Control Systems wrote:
> > Please vote for this
> >  http://bugs.php.net/26592
>
> Please don't.  See my comment.
>

given you can override php.ini setting via php commands, ISTM
application developers could still control this even if it was an ini
setting.

how do other languages handle this? IIRC in perl/dbi it is a parameter
of the connection string ie. pg_connect(host=foo,user=bar,autocommit=on)
in php-ish speak, which doesn't seem like a bad way to do it.


(personally i'm down with Scott, application developers should just use
begin/commit, but i've met some folks who really look at it the other
way)


Robert Treat
--
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL


pgsql-php by date:

Previous
From: Sai Hertz And Control Systems
Date:
Subject: PHP and autocommit of PostgreSQL 7.4
Next
From: Martin Marques
Date:
Subject: Re: [ADMIN] PHP and autocommit of PostgreSQL 7.4