Re: [ADMIN] PHP and autocommit of PostgreSQL 7.4

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: aspire420(at)hotpop(dot)com, Sai Hertz And Control Systems <sank89(at)sancharnet(dot)in>, pgsql-php(at)postgresql(dot)org
Subject: Re: [ADMIN] PHP and autocommit of PostgreSQL 7.4
Date: 2003-12-11 23:25:06
Message-ID: 1071185106.1792.8265.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin 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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Peter Eisentraut 2003-12-11 23:50:24 Re: [ADMIN] PHP and autocommit of PostgreSQL 7.4
Previous Message Peter Eisentraut 2003-12-11 22:17:59 Re: PHP and autocommit of PostgreSQL 7.4

Browse pgsql-php by date

  From Date Subject
Next Message Peter Eisentraut 2003-12-11 23:50:24 Re: [ADMIN] PHP and autocommit of PostgreSQL 7.4
Previous Message Peter Eisentraut 2003-12-11 22:17:59 Re: PHP and autocommit of PostgreSQL 7.4