-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
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
sql: int4 type mapping error in npgsql #24172
Comments
Hi @rkdrnfds, I cannot reproduce this issue with your linked repository. As expected, the program successfully inserts the row into the database. |
@jordanlewis I reproduced this error, a couple times actually. The error message happens when you issue a query against a table that you do not have permission to query. It manifests itself as this error message, which sends the user off on the wrong path. I've seen this happen a few times to me, and I always forget the solution and have to figure it out again. To my future self who will google this again some day, hope things are well! :) |
This has been solved in 19.1.1. #24173. |
When used cockroach db v2.0-beta.20180319,
it generates type mapping error as below when executed insertion query through Npgsql / EF Core
cockroach db v2.0-alpha.20180129 does not generate those error and works well.
I created repository for repro so you can check it.
repro github
You can test it by manually creating database
with table as below
and runnning program.
The text was updated successfully, but these errors were encountered: