Skip to content

Conversation

natsuki14
Copy link
Contributor

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant