Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the libpq event system #70

Closed
ged opened this issue May 4, 2011 · 2 comments
Closed

Add support for the libpq event system #70

ged opened this issue May 4, 2011 · 2 comments

Comments

@ged
Copy link
Owner

ged commented May 4, 2011

Original report by Michael Granger (Bitbucket: ged, GitHub: ged).


libpq has an [[http://www.postgresql.org/docs/9.0/static/libpq-events.html | event system ]] that makes it possible "to notify registered event handlers about interesting libpq events, such as the creation or destruction of PGconn and PGresult objects". This might be useful for logging, connection pool management, etc.

@ged
Copy link
Owner Author

ged commented Nov 4, 2014

Original comment by Lars Kanis (Bitbucket: larskanis, GitHub: larskanis).


I don't think, that it makes much sense in the ruby context.

@ged
Copy link
Owner Author

ged commented Nov 12, 2014

Original comment by Michael Granger (Bitbucket: ged, GitHub: ged).


I agree. I think I was misunderstanding what exactly the events are used for when I opened this. Closing.

@ged ged closed this as completed Nov 12, 2014
@ged ged added this to the Pending milestone Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant