From: Robert Treat <xzilla@users.sourceforge.net>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: aspire420@hotpop.com, Sai Hertz And Control Systems <sank89@sancharnet.in>
Cc: pgsql-php@postgresql.org
Subject: Re: [ADMIN] PHP and autocommit of PostgreSQL 7.4
Date: 11 Dec 2003 18:25:06 -0500
Message-ID: <1071185106.1792.8265.camel@camel> (raw)
In-Reply-To: <200312112317.59269.peter_e@gmx.net>
References: <3FD8E2C0.5060803@sancharnet.in>
<200312112317.59269.peter_e@gmx.net>
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
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: xzilla@users.sourceforge.net, peter_e@gmx.net, sank89@sancharnet.in
Subject: Re: [ADMIN] PHP and autocommit of PostgreSQL 7.4
In-Reply-To: <1071185106.1792.8265.camel@camel>
References: <3FD8E2C0.5060803@sancharnet.in> <200312112317.59269.peter_e@gmx.net> <1071185106.1792.8265.camel@camel>
* 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