|
I have a query like
I can reproduce this as follows: I think I can fix this via some magic in |
Replies: 1 comment
|
Ah, it looks like the magic I need is As a documentation note, the value of the name argument to RegisterDefaultPgType was not at all clear. It says "PostgreSQL type name" but neither "BIGINT", nor "BIGINT[]", nor "_BIGINT" worked. I eventually figured it out by looking at the source. |
Ah, it looks like the magic I need is
Map.RegisterDefaultPgType. The following worked:As a documentation note, the value of the name argument to RegisterDefaultPgType was not at all clear. It says "PostgreSQL type name" but neither "BIGINT", nor "BIGINT[]", nor "_BIGINT" worked. I eventually figured it out by looking at t…