-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow to run pg_repack by non-superuser
Now everybody how has access to repack_trigger() and repack_apply() and relevant objects can call that functions. Functions repack_swap(), repack_drop() and repack_index_swap() can be called by superuser and owners of a table. Cherry-pick the commit 326b6e1 to not cause segmentation fault when using -k option and not having enough permissions.
- Loading branch information
Showing
7 changed files
with
59 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
"name": "pg_repack", | ||
"abstract": "PostgreSQL module for data reorganization", | ||
"description": "Reorganize tables in PostgreSQL databases with minimal locks", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"maintainer": [ | ||
"Beena Emerson <[email protected]>", | ||
"Josh Kupershmidt <[email protected]>", | ||
|
@@ -17,7 +17,7 @@ | |
"provides": { | ||
"pg_repack": { | ||
"file": "lib/pg_repack.sql", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"abstract": "Reorganize tables in PostgreSQL databases with minimal locks" | ||
} | ||
}, | ||
|
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
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