Perfect-PostgreSQL icon indicating copy to clipboard operation
Perfect-PostgreSQL copied to clipboard

Made PGConnection thread-safe.

Open natsuki14 opened this issue 7 years ago • 0 comments

I found PGConnection is not thread-safe. This causes critical errors on multi-threaded applications (e.g. applications based on Perfect-HTTPServer). To make it thread-safe, I introduced a lock to protect libpq connection (PGConnection.conn).

natsuki14 avatar Dec 11 '18 09:12 natsuki14