8000 Fixed error in creating pooled PostgresDB with pgdb driver. by PriceChild · Pull Request #255 · webpy/webpy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fixed error in creating pooled PostgresDB with pgdb driver. #255

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

Merged
merged 1 commit into from
Sep 13, 2019

Conversation

PriceChild
Copy link
Contributor

Repeating the same fix in 35674c8 for pooled (With DBUtils) connections.

Repeating the same fix in 35674c8 for pooled (With DBUtils) connections.
@PriceChild
Copy link
Contributor Author

Found that the AttributeError exception was raised when running on Centos 6.2 (don't ask) with web.py & DBUtils installed via pip.

@iredmail
Copy link
Contributor

hi @PriceChild ,

is this change still required?

@PriceChild
Copy link
Contributor Author

@iredmail I believe so, yes.

I don't have the same environment around 6 years later, but reviewing the code quickly it looks like connections without DBUtils still fall back: https://github.com/webpy/webpy/blob/master/web/db.py#L1037 but those with pooling don't: https://github.com/webpy/webpy/blob/master/web/db.py#L1048

@iredmail iredmail merged commit 75d5b0e into webpy:master Sep 13, 2019
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
0