dbTalk Databases Forums  

Multi-process transactions [share connections]

comp.databases.postgresql.questions comp.databases.postgresql.questions


Discuss Multi-process transactions [share connections] in the comp.databases.postgresql.questions forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ruslan A Dautkhanov
 
Posts: n/a

Default Multi-process transactions [share connections] - 04-27-2004 , 04:46 AM






Hello !

I have complex system, which use PostgreSQL as a storage.
Web-interface use Apache+mod_perl, Pg.pm 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[Pg.pm]::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

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.