Re: Anybody using PostgreSQL?
| From: | Martin Marques | Date: | Wed, 14 Apr 2004 21:03:46 +0000 |
| Subject: | Re: Anybody using PostgreSQL? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-33886@lists.php.net to get a copy of this message | ||
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
-----------------------------------------------------------------