Skip to content
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

fix(pgwire): revert reported pg server version back to 11.3 #3263

Merged
merged 2 commits into from
Apr 21, 2023

Conversation

jerrinot
Copy link
Contributor

partially reverting the change from #3080
#3080 changed the reported version as a side-effect, but the new version was used in PropServerConfiguration only, DefaultPGWireConfiguration stays on 11.3 The result was that most tests reported the version 11.3 to clients while production QuestDB builds reported 15.2. Some Postgres clients adjust behaviour depending on the reported server version and using different version in tests and in production builds means we could not trust tests.

partially reverting the change from #3080
#3080 changed the reported version as a side-effect, but the new version was
used in PropServerConfiguration only, DefaultPGWireConfiguration stays on 11.3
The result was that most tests reported the version 11.3 to clients while production
QuestDB builds reported 15.2. Some Postgres clients adjust behaviour depending on
the reported server version and using different version in tests and in production
builds means we could not trust tests.
@jerrinot jerrinot added Bug Incorrect or unexpected behavior Postgres Wire Issues or changes relating to Postres wire protocol labels Apr 21, 2023
@jerrinot jerrinot marked this pull request as ready for review April 21, 2023 14:58
@ideoma
Copy link
Collaborator

ideoma commented Apr 21, 2023

[PR Coverage check]

😍 pass : 1 / 1 (100.00%)

file detail

path covered line new line coverage
🔵 io/questdb/PropServerConfiguration.java 1 1 100.00%

@bluestreak01 bluestreak01 merged commit dfa12f6 into master Apr 21, 2023
17 checks passed
@bluestreak01 bluestreak01 deleted the jh_pgwire_server_version branch April 21, 2023 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Incorrect or unexpected behavior Postgres Wire Issues or changes relating to Postres wire protocol
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants