-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ERL-421: ODBC truncates data for LONGTEXT and BLOB #3321
Comments
|
|
|
|
|
|
I spent some time debugging this today (on today's master), and here are some findings: When connecting to Postgres 14.1, and inspecting some values in the aforementioned file
So the above mentioned patch by jan.chochol seems to be fine for Postgres. When connecting to Oracle, unfortunately it looks quite different:
Playing around and setting Maybe I can also try mysql, but I haven't done it so far. I also read a few other codebases, so for reference here are calls to
In PyODBC it just seems to work, but I couldn't yet figure out what's different. In PHP based on the type of the field it's set to retrieve data later, not unlike TLDR: I think the proposed patch is not a full fix, at least not when Oracle is involved. |
Have you also checked with #4822? It may fix some more things, but I don't think it fixes all things. |
Original reporter:
lea
Affected version:
OTP-19.1.1
Component:
odbc
Migrated from: https://bugs.erlang.org/browse/ERL-421
The text was updated successfully, but these errors were encountered: