-
Notifications
You must be signed in to change notification settings - Fork 835
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove some special casing for QueryExecModeExec
- Loading branch information
Showing
1 changed file
with
8 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c1075bf
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.