Skip to content

Parsing interval into CalendarDiffTime fails in PostgreSQL #601

@tysonzero

Description

@tysonzero

I get a ConversionFailed exception with:

  • errSQLType = "interval"
  • errHaskellType = "CalendarDiffTime"

and a few different possible error messages depending on the value:

  • errMessage = "Failed reading: no parse of \"00:00:00\""
  • errMessage = "Failed reading: no parse of \"00:00:01\""
  • errMessage = "Failed reading: no parse of \"1 mon\""

Note that writing seems to work just fine, I was able to insert the above rows without issue, I just can't selectTable them back.

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