-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
sql: Use prefix as name of db to connect to in testing helper #4605
Conversation
Rather than always relying on prefixing table names with db names
Fixes #4612? |
I think that if you try to merge this right now you will run into #4550. Fix coming in #4610. Reviewed 2 of 2 files at r1. sql/pgwire_test.go, line 293 [r1] (raw file): Comments from the review on Reviewable.io |
Reviewed 2 of 2 files at r1. sql/pgwire_test.go, line 293 [r1] (raw file): Comments from the review on Reviewable.io |
Looks like CI passed. LGTM Review status: all files reviewed at latest revision, 1 unresolved discussion. Comments from the review on Reviewable.io |
Review status: all files reviewed at latest revision, 2 unresolved discussions. testutils/sqlutils/pg_url.go, line 68 [r1] (raw file): Comments from the review on Reviewable.io |
Review status: all files reviewed at latest revision, 2 unresolved discussions. sql/pgwire_test.go, line 293 [r1] (raw file): testutils/sqlutils/pg_url.go, line 68 [r1] (raw file): Comments from the review on Reviewable.io |
Review status: all files reviewed at latest revision, 2 unresolved discussions. testutils/sqlutils/pg_url.go, line 68 [r1] (raw file): Comments from the review on Reviewable.io |
Rather than always relying on prefixing table names with db names.
Still may need to do the connect-create-reconnect dance in a few places to actually use this though.