-
-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restore pg_repack to our extensions list (#886)
* restore pg_repack 1.4.8 for non-superuser cli testing * bump image tag for staging * bump pg_repack for pg16 support * update pg_repack in readme --------- Co-authored-by: Div Arora <[email protected]>
- Loading branch information
Showing
9 changed files
with
107 additions
and
2 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
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# pg_repack | ||
- name: pg_repack - download & install dependencies | ||
apt: | ||
pkg: | ||
- liblz4-dev | ||
- libz-dev | ||
- libzstd-dev | ||
- libreadline-dev | ||
update_cache: yes | ||
install_recommends: no | ||
|
||
- name: pg_repack - download latest release | ||
git: | ||
repo: https://github.com/reorg/pg_repack.git | ||
dest: /tmp/pg_repack | ||
version: "ver_{{ pg_repack_release }}" | ||
become: yes | ||
|
||
- name: pg_repack - build | ||
make: | ||
chdir: /tmp/pg_repack | ||
params: | ||
USE_PGXS: 1 | ||
become: yes | ||
|
||
- name: pg_repack - install | ||
make: | ||
chdir: /tmp/pg_repack | ||
target: install | ||
params: | ||
USE_PGXS: 1 | ||
become: yes | ||
|
||
- name: pg_repack - cleanup | ||
file: | ||
state: absent | ||
path: /tmp/pg_repack | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
BEGIN; | ||
create extension if not exists pg_repack with schema "extensions"; | ||
ROLLBACK; |
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