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

pg_repack 1.5.2: Allow to run pg_repack by non-superuser #1314

Merged
merged 2 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ansible/tasks/postgres-extensions/27-pg_repack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
git:
repo: https://github.com/reorg/pg_repack.git
dest: /tmp/pg_repack
version: "ver_{{ pg_repack_release }}"
version: "{{ pg_repack_commit }}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: Is this ansible file still used for postgres extensions? I thought we only do the Nix change nowadays

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review. Indeed, I wasn't sure if it was necessary. I reverted that change. I also bumped postgres release, it seems it is necessary to do on bumping an extension version.

become: yes

- name: pg_repack - build
Expand Down
3 changes: 2 additions & 1 deletion ansible/vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ wrappers_release: "0.4.3"
hypopg_release: "1.4.1"
hypopg_release_checksum: sha256:9afe6357fd389d8d33fad81703038ce520b09275ec00153c6c89282bcdedd6bc

pg_repack_release: "1.5.0"
pg_repack_release: "1.5.2"
pg_repack_commit: "85b64c6d4f599b2988343c4e7121acab505c9006"
pg_repack_release_checksum: sha256:9a14d6a95bfa29f856aa10538238622c1f351d38eb350b196c06720a878ccc52

pgvector_release: "0.7.4"
Expand Down
6 changes: 3 additions & 3 deletions nix/ext/pg_repack.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@

stdenv.mkDerivation (finalAttrs: {
pname = "pg_repack";
version = "1.5.0";
version = "1.5.2";

buildInputs = postgresql.buildInputs ++ [ postgresql ];

src = fetchFromGitHub {
owner = "reorg";
repo = "pg_repack";
rev = "ver_${finalAttrs.version}";
hash = "sha256-do80phyMxwcRIkYyUt9z02z7byNQhK+pbSaCUmzG+4c=";
rev = "85b64c6d4f599b2988343c4e7121acab505c9006";
hash = "sha256-lAuLI+vupusvn3uTzQ9OaLqkEfUVMCAwU9R70tTbb8Y=";
};

installPhase = ''
Expand Down
Loading