Skip to content

Decimal("Infinity") support for numeric types in PostgreSql >= 14? #1020

Closed
@krokoziabla

Description

@krokoziabla
Contributor

Activity

elprans

elprans commented on Apr 4, 2023

@elprans
Member

Yeah, that's a good point. A PR would be welcome, as I'm completely swamped with other work right now.

krokoziabla

krokoziabla commented on Apr 5, 2023

@krokoziabla
ContributorAuthor

Hi again! I've made a PR in the submodule which basically makes it possible to handle Infinite decimals.
https://github.com/MagicStack/py-pgproto/pull/22/files But it misses server's version check. Probably you can give me a hint or existing example how to check it properly

Also after it has been merged I will submit another PR to the parent repo with tests that checks this new feature

added a commit that references this issue on Aug 18, 2023

Issue MagicStack#1020 Infinity numeric support

added 5 commits that reference this issue on Oct 7, 2023

Issue MagicStack#1020 Infinity numeric support

fade988

Issue #1020 Infinity numeric support

104e4b3

Issue MagicStack#1020 Infinity numeric support

dd80d72

Issue #1020 Infinity numeric support (#1067)

0c3bf60

Issue MagicStack#1020 Infinity numeric support (MagicStack#1067)

901c8e0
elprans

elprans commented on Oct 9, 2023

@elprans
Member

Fixed in #1067

added a commit that references this issue on Nov 5, 2023
added a commit that references this issue on Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @elprans@krokoziabla

        Issue actions

          Decimal("Infinity") support for numeric types in PostgreSql >= 14? · Issue #1020 · MagicStack/asyncpg