Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-adminpgsql-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

pgsql-admin by date

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

pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group