Re: Anybody using PostgreSQL?

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

 



El Mié 14 Abr 2004 07:39, Tumurbaatar S. escribió:
> In PHP5 manual, it says that
> when using large objects functions
> of PostgreSQL, a program should
> manually begin/end transaction.
> But what about other query/exec functions?
> Do I need to control transactions or every function
> call implicitly wrapped with transaction block?
> What if a command consists of several SQL
> statements or a command calls a user-defined
> function which also executes several statements
> within its body?

Havn't checked out PHP5 yet, but in PEAR::DB (at least in the latest versions 
on PHP4) all transactions are enclosed between BEGIN and END individualy or 
in groups.

-- 
 18:01:01 up 36 days, 22:28,  2 users,  load average: 0.41, 0.54, 0.50
-----------------------------------------------------------------
Martín Marqués        | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica  |  DBA, Programador, Administrador
             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