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
Hi @jackc , we use call RegisterDefaultPgType for custom structs like this
RegisterDefaultPgType(SomeStruct, "jsonb")
and everything would work in v5.5.4.
Now with v5.7 (and I guess with v5.6 too), we get the following errors on insert:
failed to create outpost: error writing to DB: ERROR: invalid input syntax for type json
not sure if this is the root cause, but I tried to debug it to understand a bit better what's going on and I think this is the reason it chooses the json codec instead of the jsonb codec.
With v5.7.1 is there a new way to define custom types? btw we use QueryExecModeExec.
The text was updated successfully, but these errors were encountered:
Hi @jackc , we use call
RegisterDefaultPgType
for custom structs like thisand everything would work in v5.5.4.
Now with v5.7 (and I guess with v5.6 too), we get the following errors on insert:
not sure if this is the root cause, but I tried to debug it to understand a bit better what's going on and I think this is the reason it chooses the json codec instead of the jsonb codec.
With v5.7.1 is there a new way to define custom types? btw we use QueryExecModeExec.
The text was updated successfully, but these errors were encountered: