Re: Set autocommit to off/on from PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El Mar 02 Sep 2003 08:05, Joanna Owczarzak escribió:
> PHP 4.1.2, postgreSQL 7.1.3.
>
> How to change autcommit property of postgreSQL database from php script?

$db = DB::Connect($dbn);
$db->autocommit(false);

Saludos... :-)

P.D.: They should document this.

-- 
 18:26:01 up 12 days, 10:16,  4 users,  load average: 0.48, 0.46, 0.34
-----------------------------------------------------------------
Martín Marqués                  |        mmarques@unl.edu.ar
Programador, Administrador, DBA |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux