Home > Archive > PHP with PostgreSQL > May 2005 > Determining transaction status









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Determining transaction status
Aaron Dummer

2005-05-02, 11:23 am

Hey guys,

Is there any way to determine transaction status without using
pg_transaction_statu
s() (which hasn't been officially released yet)?

I'm using PostgreSQL 8.0.2/PHP 5.0.4.

Thanks!

--
Aaron Dummer
aaron@dummer.info


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Volkan YAZICI

2005-05-02, 1:23 pm

Hi,

On 5/2/05, Aaron Dummer <aaron@dummer.info> wrote:
> Is there any way to determine transaction status without using
> pg_transaction_statu
s() (which hasn't been officially released yet)?


You can patch your ext/pgsql/pgsql.c from CVS. pg_transaction_statu
s()
is added in revision 1.315.
[http://cvs.php.net/php-src/ext/pgsql/pgsql.c]

Regards.

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Christopher Kings-Lynne

2005-05-02, 8:24 pm

> Is there any way to determine transaction status without using

> pg_transaction_statu
s() (which hasn't been officially released yet)?


No.

Chris

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com