You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a bunch of custom domains in my application for validation and, because those domains get assigned custom type ids which this library doesn't (I think) support, I end up having to cast various columns. I've noticed that casting to int4 and int8 and text works just fine
I use a bunch of custom domains in my application for validation and, because those domains get assigned custom type ids which this library doesn't (I think) support, I end up having to cast various columns. I've noticed that casting to int4 and int8 and text works just fine
but casting to integer produces invalid sql:
Note the quotes around
INTEGER
. In Postgres, executing this query produces an error:Casting to
smallint
,bigint
,decimal
ornumeric
exhibits the same behavior.The text was updated successfully, but these errors were encountered: