From: Oleg B. <ph...@ph...> - 2004-10-24 12:04:39
|
Hello! As far as I understand more and more people use SQLObject+Quixote these days. There is a question I'd like to ask. People, how do you handle forks and transactions? I use Quixote+SCGI(+Apache); my program is a long-living (Quixote) forking (SCGI) process. The thing that is worrying me is that I import a module that defines my tables almost before anything else. The module opens a connection to a Postgres database, and then SCGI forks the program. Should I worry? Shoud I close and reopen the connection? What about transactions? Oleg. -- Oleg Broytmann http://phd.pp.ru/ ph...@ph... Programmers don't die, they just GOSUB without RETURN. |