Skip to content

format_sql_value and float nan/inf/-inf #398

@rogerbinns

Description

@rogerbinns

Currently format_sql_value outputs inf for infinity, but SQLite doesn't understand that on import. It will understand 9e999 and treat that as infinity, although postgres retains the full precision.

It should be possible to make a dump of a sqlite database containing these values, and be able to restore it with sqlite.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions