Skip to content
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

Disallow database connection in pg_dump #6453

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

antekresic
Copy link
Contributor

@antekresic antekresic commented Dec 21, 2023

Another try to reduce the flakiness of this test. Previously added REVOKE CONNECT does not stop db owners or superusers connecting. Altering the database with allow_connections = off should stop everybody from connecting.

Disable-check: force-changelog-file

Copy link

codecov bot commented Dec 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3d93bfb) 87.31% compared to head (2b7c7c1) 87.30%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6453      +/-   ##
==========================================
- Coverage   87.31%   87.30%   -0.02%     
==========================================
  Files         187      187              
  Lines       41846    41800      -46     
  Branches     9314     9294      -20     
==========================================
- Hits        36537    36492      -45     
+ Misses       3638     3635       -3     
- Partials     1671     1673       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Another try to reduce the flakiness of this test. Previously
added REVOKE CONNECT does not stop db owners or superusers connecting.
Altering the database with allow_connections = off should stop
everybody from connecting.
Copy link

@mahipv, @jnidzwetzki: please review this pull request.

Powered by pull-review

@antekresic antekresic enabled auto-merge (rebase) December 21, 2023 15:01
@antekresic antekresic merged commit 8ecce0d into timescale:main Dec 21, 2023
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants