Visitar URL original
fix non-standard strings failing test for version 19 by davecramer · Pull Request #3934 · pgjdbc/pgjdbc · GitHub
Skip to content

fix non-standard strings failing test for version 19 - #3934

Merged
davecramer merged 1 commit into
pgjdbc:masterfrom
davecramer:fix_non_standard_strings
Feb 9, 2026
Merged

davecramer merged 1 commit into
pgjdbc:masterfrom
davecramer:fix_non_standard_strings

Conversation

@davecramer

Copy link
Copy Markdown
Member

No description provided.

@davecramer
davecramer merged commit 47f7e3b into pgjdbc:master Feb 9, 2026
17 checks passed
Comment on lines +472 to +473
// as of 4576208 in postgres non-standard strings now throw an error.
assumeMinimumServerVersion(ServerVersion.v18);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks inversed, doesn't it?
If you assume the test should execute with old versions only, we should have something like assume Maximum ServerVersion here

@davecramer

Copy link
Copy Markdown
Member Author

ah, thanks, let me fix that

@davecramer
davecramer deleted the fix_non_standard_strings branch February 9, 2026 15:24
@davecramer

Copy link
Copy Markdown
Member Author

I looked at this and I think we need something like assumeServerVersionLessThan since saying assumeMaximumVersion (19) will fail for 19.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants