We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have the following custom column type: CREATE TYPE public.money_with_currency AS (currency_code char(3), amount numeric(20,8))
CREATE TYPE public.money_with_currency AS (currency_code char(3), amount numeric(20,8))
When running: select * from table with that column, I'm getting: P3Error Cannot convert type with OID 23409
select * from table
P3Error Cannot convert type with OID 23409
Do you have any suggestions on how I could pass that type to P3?
The text was updated successfully, but these errors were encountered:
I was able to map these columns to strings in typeMap but I'm wondering if the default should be to do this automatically?
Sorry, something went wrong.
Hi,
First, thanks for the feedback, this is always important.
If you define your own types, they are not mapped, so something must happen.
Maybe you can find some inspiration in #loadEnums ?
It has been a while since I worked on P3, I will think a bit more about it.
It would certainly be interesting to see (in code) what you actually did. Maybe it can become a unit test / executable example ?
Sven
I created a new unit test / executable example: a198238
No branches or pull requests
I have the following custom column type:
CREATE TYPE public.money_with_currency AS (currency_code char(3), amount numeric(20,8))
When running:
select * from table
with that column, I'm getting:P3Error Cannot convert type with OID 23409
Do you have any suggestions on how I could pass that type to P3?
The text was updated successfully, but these errors were encountered: