Skip site navigation (1) Skip section navigation (2)

Multi-process transactions [share connections]

From: Ruslan A Dautkhanov <rusland(at)scn(dot)ru>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Multi-process transactions [share connections]
Date: 2004-04-28 01:51:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-bugs
Hello !

I have complex system, which use PostgreSQL as a storage. 
Web-interface use Apache+mod_perl, for connection.
I also have kernel of the system written in C++, which 
works as a UNIX daemon and process request from frontend
mod_perl scripts. In some cases it needs to share transaction
along the forntend script [mod_perl process] and kernel
process [other process]. Is it possible? 
If yes, what and how I must pass to kernel process?
Just connection_handler variable? Is perl[]::PQconnectdb return
value compatible with C[libpq]::PQsetdbLogin's function return value?
It is enough to pass only this variable to work with high-grade
transactions etc support in this case?

Thanks a lot for any helpful information.

 best regards,
Ruslan A Dautkhanov  rusland(at)scn(dot)ru

pgsql-bugs by date

Next:From: Tom LaneDate: 2004-04-28 04:38:58
Subject: Re: make check regression "test stats" failed
Previous:From: Jim C. NasbyDate: 2004-04-27 23:30:04
Subject: Silent int overflow

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group