|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-12-11 16:22 UTC] aspire420 at hotpop dot com
Description: ------------ As on PostgreSQL version 7.4 the autocommit option has been rested upon the client side i.e if I would like to put autocommit = off in PostgreSQL 7.4 > then it must appear some where in PHP.INI. But till the latest version of PHP I dont see any such option. Expected result: ---------------- in PHP.ini PostgreSQL autocommit = off or may be we do it with some configure strings PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 05:00:01 2025 UTC |
Yes , You people are right Let me clarify : 1. PostgreSQL Version 7.4 > are by default in autocomit mode i.e the postgresql.conf entry has been removed to control this 2. Try doing this on < 7.4 cs=# set autocommit=off; SET This means Sucess But on 7.4 this fails 3. So whosoever wants to control the Autocomit feature would have to work with BEGIN AND COMMIT block What does this mean :- That all those application that where not using BEGIN and COMMIT block with PostgreSQL < 7.4 will easylu port to 7.4 But Those who were relying on postgresql.conf feature will have have to look around and introduce BEGIN and COMMIT block. -------------- If I am wrong then please take this bug as feature request