Skip to content

Restore pg_repack to our extensions list #886

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

Merged
merged 5 commits into from
Feb 16, 2024
Merged

Conversation

olirice
Copy link
Contributor

@olirice olirice commented Feb 15, 2024

The pg_repack extension was removed in #875 and #757

We removed it thinking:

  • that the extension was broken because it ostensibly requires superuser
  • that the lack of a SQL interface made it a backwards compatible change that would not impact our users when they upgrade

Both of those turn out to be false. pg_repack supports non-superuser usage via a -k flag & we have a backwards compatibility issue if a user has enabled the extension because logical backups include create extension pg_repack which fails for obvious reasons.

This PR restores the pg_repack extension and upgrades it from 1.4.8 to 1.5.0 for postgres 16 support.

I tested it on staging and the extension enables + is reachable from a local CLI

@olirice olirice merged commit 81baf1c into develop Feb 16, 2024
@olirice olirice deleted the or/restore-pg_repack branch February 16, 2024 14:45
damonrand pushed a commit to cepro/postgres that referenced this pull request Jun 15, 2025
* 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 <darora@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants