-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Description
I'm seeing the following error when I attempt to SELECT a bit(n) field for any value of n, (I have tested this on ns 1-5,100-105):
Incompatible {errSQLType = "bit", errSQLTableOid = Nothing, errSQLField = "", errHaskellType = "Int64", errMessage = "types incompatible"}
This seems a bit suspicious to me because Int64 could only possible hold up to 64 bits, and the bit type supports much higher values (at least 64K since pgvector supports up to bit(64000). Returning a ByteString or something similar feels like it would be a better fit here?
I'd be happy to open a PR if I got some minor guidance on how to proceed to fix the issue. Is it as simple as modifying the okBinary function to also accept the oid TI.bit?
Metadata
Metadata
Assignees
Labels
No labels