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

PGresult#getvalue associates encoding with non-text-type fields #104

Closed
ged opened this issue Jan 19, 2012 · 2 comments
Closed

PGresult#getvalue associates encoding with non-text-type fields #104

ged opened this issue Jan 19, 2012 · 2 comments

Comments

@ged
Copy link
Owner

ged commented Jan 19, 2012

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


All of the other PGresult methods encode only the text-ish values in result column values, and set non-text values to ASCII-8BIT. #getvalue should be changed to conform with the other result methods.

@ged
Copy link
Owner Author

ged commented Mar 10, 2012

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


Issue #116 was marked as a duplicate of this issue.

@ged
Copy link
Owner Author

ged commented Mar 10, 2012

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


Don't associate encoding with non-text-type fields in PGresult#getvalue. This fixes #104 .

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