Skip to content

perf: avoid extra query on every new connection (regression since 42.5.2, PR#2556)#2826

Merged
davecramer merged 2 commits intopgjdbc:masterfrom
davecramer:release42_5_fixes
Feb 20, 2023
Merged

perf: avoid extra query on every new connection (regression since 42.5.2, PR#2556)#2826
davecramer merged 2 commits intopgjdbc:masterfrom
davecramer:release42_5_fixes

Conversation

@davecramer
Copy link
Copy Markdown
Member

PR #2556 introduced a regression. The regression was that a query was added on every new connection.
The fix for this was to add the box type to the cache, however that caused 2 tests to fail.
This PR addresses these issues

* Add box to TypeInfoCache, fixes Issue pgjdbc#2746

* use semi-colon delimiter for box type

* Fix: regression in PgResultSet LONG_MIN copy paste error fixes Issue pgjdbc#2748 (pgjdbc#2749)
…to search for box type but it is now cached (pgjdbc#2810)

fix OidValueCorrectnessTest BOX_ARRAY OID, by adding BOX_ARRAY to the oidTypeName map
@davecramer davecramer merged commit 05b129f into pgjdbc:master Feb 20, 2023
@vlsi vlsi changed the title Pull fixes for PR#2556 into master perf: avoid extra query on every new connection (regression since 42.5.2, PR#2556) Mar 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants