From: [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]