X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9EA79D1B8B6 for ; Thu, 11 Dec 2003 23:25:52 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 30909-06 for ; Thu, 11 Dec 2003 19:25:24 -0400 (AST) Received: from bramble.mmrd.com (unknown [65.217.53.66]) by svr1.postgresql.org (Postfix) with ESMTP id 5BA94D1D455 for ; Thu, 11 Dec 2003 19:25:21 -0400 (AST) Received: from thorn.mmrd.com (thorn.mmrd.com [172.25.10.100]) by bramble.mmrd.com (8.12.8/8.12.8) with ESMTP id hBBMarcM020468; Thu, 11 Dec 2003 17:36:54 -0500 Received: from gnvex001.mmrd.com (gnvex001.mmrd.com [192.168.3.55]) by thorn.mmrd.com (8.11.6/8.11.6) with ESMTP id hBBNP6l14936; Thu, 11 Dec 2003 18:25:06 -0500 Received: from camel.mmrd.com ([172.25.5.213]) by gnvex001.mmrd.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id XT876LX3; Thu, 11 Dec 2003 18:25:06 -0500 Subject: Re: [ADMIN] PHP and autocommit of PostgreSQL 7.4 From: Robert Treat To: Peter Eisentraut Cc: aspire420@hotpop.com, Sai Hertz And Control Systems , pgsql-php@postgresql.org In-Reply-To: <200312112317.59269.peter_e@gmx.net> References: <3FD8E2C0.5060803@sancharnet.in> <200312112317.59269.peter_e@gmx.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 11 Dec 2003 18:25:06 -0500 Message-Id: <1071185106.1792.8265.camel@camel> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200312/18 X-Sequence-Number: 2464 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