Make LoadTypes query easier to support on "postgres-like" servers#2504
Merged
jackc merged 2 commits intojackc:masterfrom Feb 20, 2026
Merged
Make LoadTypes query easier to support on "postgres-like" servers#2504jackc merged 2 commits intojackc:masterfrom
jackc merged 2 commits intojackc:masterfrom
Conversation
I'm working with one of the many Postgres "compatible" servers, and making this small change to the query from the `LoadTypes` function makes it "just work". Afaict there was no reason to use the simple protocol for this query.
Owner
|
See the CI test failures. It seems that some of the returned values must be in text format. That was probably the reason for using the simple protocol. You might be able to use |
Contributor
Author
|
Oops sorry, fixed now. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm working with one of the many Postgres "compatible" servers, and making this small change to the query from the
LoadTypesfunction makes it "just work". It was not needed to use the simple protocol for this query, it was only necessary for the results to use text encoding.