Bug #14113: transaction / postgres backend
| From: | n dot dose at leo-media dot de | Date: | Mon, 19 Nov 2001 11:18:33 +0000 |
| Subject: | Bug #14113: transaction / postgres backend | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-70895@lists.php.net to get a copy of this message | ||
From: n.dose@leo-media.de
Operating system: linux (suse)
PHP version: 4.0.6
PHP Bug Type: Feature/Change Request
Bug description: transaction / postgres backend
If I commit a transaction, if it is succesfully executed or not is not
communicated: a pg_exec($conn, "commit") will always return TRUE, since the
"commit" command itself is succesfully carried out (tho maybe each item in
the transaction is not!)
if there were some way to see if you were in
*ABORT STATE*
(what you would see in the backend in fouled-up transactions), that would
solve everything.
Or: generally, it would be useful in some scenarios to be able to obtain
messages from the backend. There is already a pg_errormessage() function.
Why not a pg_message() function? This would also solve my problem.
thanks a bunch, otherwise i am a very happy customer!
Nathaniel Dose
ps: "features" is misspelled as "fatures" when you click the "+"
button to
insert user notes into the online documentation.
--
Edit bug report at: http://bugs.php.net/?id=14113&edit=1