Skip to content

Support NaN insertion #799

Open
Open
@tzachshabtay

Description

@tzachshabtay

Looking at the current decimal implementation it doesn't support NaN insertion:

// Although decimal can represent NaN and Infinity it will return an error

And trying to insert it anyway results in an error:
refusing to allow NaN into database

However postgres does support NaN:
https://www.postgresqltutorial.com/postgresql-numeric/

Can we change decimal to support NaN insertion?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions