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

Fix CI test failing. It seems that pg(postgresql)'s behavior was changed since 0.13. #5002

Closed
wants to merge 3 commits into from

Conversation

kennyj
Copy link
Contributor

@kennyj kennyj commented Feb 11, 2012

This problem is occured at https://bitbucket.org/ged/ruby-pg/src/a9b8576bb35c/ext/pg_connection.c#cl-581
If a connection was closed already, exception is raised.

If necessary, I'll squash some commits.

@kennyj
Copy link
Contributor Author

kennyj commented Feb 11, 2012

updated. I found related report https://groups.google.com/group/rubyonrails-talk/browse_frm/thread/2e6d6ee47559a183

we also occur this issue in 3-2-stable...

@rafaelfranca
Copy link
Member

I tested here and this pull request fixes the build. The implementation look fine to me. So 👍

@rafaelfranca
Copy link
Member

This can be closed since pg 0.13.1 was released yesterday and it raise a rescue-able excepetion: https://bitbucket.org/ged/ruby-pg/changeset/679b1db2b430

@kennyj
Copy link
Contributor Author

kennyj commented Feb 13, 2012

@rafaelfranca
Great News!
Thank you for information. I'm closing this issue.

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.

2 participants