-
Notifications
You must be signed in to change notification settings - Fork 16
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_DESC_OCTET_LENGTH regression test difference #51
Comments
hmmm ok, thanks, I'll look into this right now |
Interestingly enough it passes https://github.com/postgresql-interfaces/psqlodbc/pull/52/checks. I wonder if this is due to needing version 17? |
Which OS? |
17.00.0002 still fails here (Debian unstable, PG 17.0) in the same way. @davecramer from our chat last week, I thought you had an idea how to tackle it and didn't follow up here. Do you need any more details? |
@df7cb I thought I sent you the query that the driver does.
|
Running that against 16 and 17 gives the same results (modulo different pg_temp_NN nspname and table oid).
There are already two expected output files in test/expected/descrec.out and test/expected/descrec_1.out with this difference:
I haven't yet figured out what that length means, but perhaps "10" is another valid output besides 20 and 40? (I hate pg_regress for making it hard to put comments on _1.out alternate output files.) |
So looking at the results of the query COL3 is 14, which is 20 decimal, no? |
It basically depends on client encoding, I guess. Lines 1098 to 1118 in 59728b9
It depends on Lines 615 to 632 in 59728b9
In case of Ubuntu:
Lines 211 to 236 in 59728b9
which maps to 4 here: @df7cb In your case, I guess |
Something is definitely wrong in this area. I've now added yet another descrec_2.out file to accept
... which looks suspiciously like an endianess problem. |
Building 16.00.0006 against PG17.0, I'm getting this regression test diff:
Could you have a look?
The text was updated successfully, but these errors were encountered: