-
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
Improving support of nvarchar and nvarbinary on the ODBC driver #4822
base: master
Are you sure you want to change the base?
Conversation
There are a lot of white space changes it would be good if we could have them in a separate commit to make reviewing easier. |
lib/odbc/vsn.mk
Outdated
@@ -1 +1 @@ | |||
ODBC_VSN = 2.13.4 |
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.
Should not be updated manually!
_ -> | ||
postgres |
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.
This i not going to work out for the nightly builds! Also it eliminates all Postges test which probably is not a good thing.
fb30f29
to
4e2a2a4
Compare
@@ -27,7 +27,7 @@ | |||
|
|||
%------------------------------------------------------------------------- | |||
connection_string() -> | |||
"DSN=sql-server;UID=odbctest;PWD=gurka". | |||
"DSN=hernan-mssql;UID=hernan;PWD=hernan". |
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.
It is not ok to change the basic test setup!
Nothing happened here for a long time. There is no priority to drive this change from the OTP team but we are willing to accept it if any one is interested in making it work! |
Hi, The issue involving the large data types specified with a Additionally, one of the recent PRs (#7000) for odbcserver causes it to misbehave when used towards a Microsoft SQL Server database, where such data types with As a side note, I'll be preparing a PR that allows for multiple result sets when using parameterized queries unless you can think of some reason why that shouldn't be done. |
@rnowak It was many years ago that I worked actively to improve this application. I think not handling multiple result sets is probably a missing feature that was never prioritized. We do apricate that being a separate PR. Any hint on how to set up a working test environment on a modern windows environment would also be greatly apricated, I am afraid ours has gone rotten and Postgress is our only working backend at the moment. |
Just a small status update that this is still on my table, it has just been shifted off constantly due to other prioritization. The hope is to have this done before the end of this year. The merged #7000 in combination with only the ancient Not sure how to best proceed, but perhaps it might be better to close this PR and start afresh when it is time. This PR includes a lot of mixed changes, and ultimately, the chosen approach cannot work with the ODBC drivers towards Microsoft SQL Server in certain scenarios as it goes against specific requirements outlined in the Microsoft documentation. It is illegal to retrieve bound columns after a call to I have an implementation prepared, but it needs some more love. It changes how variable-sized types are retrieved, and this will hold true for all database kinds, not only Microsoft SQL Server. Ultimately, this should match what the drivers might have performed under the hood otherwise, and hopefully it will have similar performance characteristics. I will try to verify my hopes towards PostgreSQL. I want to reiterate that the PR as it is currently should not be merged. |
@rnowak You are of course still most welcome to do the work you intended on this one. I fully agree it should not be merged as it is. If you feel it would be easier to make a new PR please do, and when you do we can close this one in favor of the new one. |
No description provided.