Skip to content
This repository has been archived by the owner on Sep 7, 2024. It is now read-only.

Improve numeric_send and handle decimal scale correctly #13

Merged
merged 2 commits into from
Jun 19, 2013

Conversation

tlocke
Copy link
Collaborator

@tlocke tlocke commented Jun 19, 2013

Hi Mathieu, I came across a bug in pg8000 where for example the numeric '50.34' in the db would be returned as '50.3400'. I think I've worked out what's going on, and this pull request should fix it. I've added a test for the bug. Let me know if there are any changes you'd like me to make.

Cheers,

Tony.

zeha and others added 2 commits June 19, 2013 20:36
This fixes truncation of DECIMAL/NUMERIC numbers.
For example the numeric '50.34' in the db would be returned as '50.3400'. A
test for this has been added.
mfenniak added a commit that referenced this pull request Jun 19, 2013
Merge PR to improve numeric_send and handle scale on decimal objects property
@mfenniak mfenniak merged commit 24e677d into mfenniak:trunk Jun 19, 2013
@mfenniak
Copy link
Owner

Thanks for sending the PR, Tony. I've merged the changes. Would you be interested in being added as a collaborator to the project, with full repository access? I've been looking for people who might be interested in helping with the maintenance of this software.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants