-
Notifications
You must be signed in to change notification settings - Fork 910
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reduce privilege requirement in bgw_security
The test `bgw_security` requires escalated privileges to modify `_timescaledb_config.bgw_job` and set the owner, which does not work when running tests on an instance without `SUPERUSER` privileges. Reduce the requirements for the test by switching role before adding the job, and hence avoid the need to update `_timescaledb_config.bgw_job` to set the owner. Commit also clarifies one error message generated on permission errors for a job.
- Loading branch information
Showing
3 changed files
with
29 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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