Repository navigation
Conversation
commit: |
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require review
Tip of the day💡 Did you know, you can route each severity your way: inline, summary, both, or drop |
4 tasks done
Contributor
Author
|
@alumni, please have a look when you have time |
3 of 4 tasks
Contributor
Author
|
Closing due to inactivity. |
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.
Description of change
loadTables()in the Postgres and CockroachDB query runners still built tables and their columns inside nestedPromise.allcalls. Enum/array columns (Postgres) and generated columns (both drivers) query from the column callback, so several queries were sent on one client at once and pg >= 8.19 printed theclient.query()deprecation warning onschema:log,migration:generateandsynchronize. Both loops now run withfor...of, the same way #12105 did for the catalog queries above them.Added a test for each driver that wraps
queryRunner.queryand checks thatgetTables()never has more than one query in flight. On master the Postgres one sees 99 at once and the CockroachDB one sees 5.Pull-Request Checklist
masterbranchFixes postgres: loadTables() still runs concurrent queries on one client (pg deprecation warning, error in pg 9) #12914
tests/**.test.ts)docs/docs/**.md) N/A