Port details
pg_repack Reorganize tables in PostgreSQL databases with minimal locks
1.5.3_1 databases Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.5.3Version of this port present on the latest quarterly branch.
Maintainer: farrokhi@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2017-07-06 10:10:16
Last Update: 2026-11-12 14:12:38
Commit Hash: b0e25d5
License: BSD3CLAUSE
WWW:
https://github.com/reorg/pg_repack
Description: #
Pg_repack is a PostgreSQL extension which lets you remove bloat from tables and indexes, and optionally restore the physical order of clustered indexes. Unlike CLUSTER and VACUUM FULL it works online, without holding an exclusive lock on the processed tables during processing. pg_repack is efficient to boot, with performance comparable to using CLUSTER directly.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
Expand this list (8 items)
Collapse this list.
  1. bin/pg_repack
  2. lib/postgresql/pg_repack.so
  3. share/postgresql/extension/pg_repack--1.5.3.sql
  4. share/postgresql/extension/pg_repack.control
  5. /usr/local/share/licenses/postgresql18-pg_repack-1.5.3_1/catalog.mk
  6. /usr/local/share/licenses/postgresql18-pg_repack-1.5.3_1/LICENSE
  7. /usr/local/share/licenses/postgresql18-pg_repack-1.5.3_1/BSD3CLAUSE
  8. share/sbom/pc/postgresql18-pg_repack.pc
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • postgresql18-pg_repack>0:databases/pg_repack
To install the port: #
cd /usr/ports/databases/pg_repack/ && make install clean
To add the package, run one of these commands:
  • pkg install databases/pg_repack
  • pkg install postgresql18-pg_repack
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: postgresql18-pg_repack
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1766331477 SHA256 (reorg-pg_repack-ver_1.5.3_GH0.tar.gz) = 9439892c0b7c7575677f61133e5692f3e8cfd5c6688c5db4fb202320c668c745 SIZE (reorg-pg_repack-ver_1.5.3_GH0.tar.gz) = 100851

Packages (timestamps in pop-ups are UTC): #
postgresql13-pg_repack
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest--1.4.8--
FreeBSD:14:quarterly-----
FreeBSD:15:latest--n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
postgresql17-pg_repack
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---1.5.2-
FreeBSD:14:quarterly---1.5.2-
FreeBSD:15:latest--n/a1.5.2n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest--n/a-n/a
 
postgresql18-pg_repack
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1.5.31.5.3_1--1.5.3_1
FreeBSD:14:quarterly1.5.31.5.3--1.5.3
FreeBSD:15:latest1.5.3_11.5.3_1n/a-n/a
FreeBSD:15:quarterly1.5.31.5.3n/a-n/a
FreeBSD:16:latest1.5.31.5.3_1n/a-n/a
 
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. gettext-runtime>=0.26 : devel/gettext-runtime
  2. gmake>=4.4.1 : devel/gmake
  3. postgres : databases/postgresql18-server
  4. as : devel/binutils
Runtime dependencies: #
  1. postgres : databases/postgresql18-server
Library dependencies: #
  1. libintl.so : devel/gettext-runtime
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
databases_pg_repack
USES: #
gettext-runtime gmake pgsql:11+
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/reorg/pg_repack/tar.gz/ver_1.5.3?dummy=/
Collapse this list.

Number of commits found: 24 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.5.3_1
12 Nov 2026 14:12:38
commit hash: b0e25d50ad8212b0829f802e35183b84e4586411commit hash: b0e25d50ad8212b0829f802e35183b84e4586411commit hash: b0e25d50ad8212b0829f802e35183b84e4586411commit hash: b0e25d50ad8212b0829f802e35183b84e4586411 files touched by this commit
Palle Girgensohn (girgen) search for other commits by this committer
*/*: Bump PORTREVISION for postgresql-server dependant ports

All ports depending on postgreql-server require a rebuild after
postgresql-server is upgraded to reflect security fixes.

Security:	1a672925-de93-11f1-9824-6cc21735f730
1.5.3
21 Dec 2025 15:47:00
commit hash: 8aa37e0fc3fce1491957091f8748eaa86d103059commit hash: 8aa37e0fc3fce1491957091f8748eaa86d103059commit hash: 8aa37e0fc3fce1491957091f8748eaa86d103059commit hash: 8aa37e0fc3fce1491957091f8748eaa86d103059 files touched by this commit
Babak Farrokhi (farrokhi) search for other commits by this committer
databases/pg_repack: Update to 1.5.3
1.5.2
26 Feb 2025 19:58:24
commit hash: 57640dd373243d8f8b50b1dbf5d532c6fee9a990commit hash: 57640dd373243d8f8b50b1dbf5d532c6fee9a990commit hash: 57640dd373243d8f8b50b1dbf5d532c6fee9a990commit hash: 57640dd373243d8f8b50b1dbf5d532c6fee9a990 files touched by this commit
Babak Farrokhi (farrokhi) search for other commits by this committer
databases/pg_repack: Update to 1.5.2
1.4.8
15 Apr 2023 13:14:58
commit hash: a40c0e7d8311e72078684f0a7ee388966a6adaf9commit hash: a40c0e7d8311e72078684f0a7ee388966a6adaf9commit hash: a40c0e7d8311e72078684f0a7ee388966a6adaf9commit hash: a40c0e7d8311e72078684f0a7ee388966a6adaf9 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Remove pointers to EOLed pgsql versions

- Remove dotted pgsql versions

Approved by:	portmgr
1.4.8
21 Oct 2022 15:45:28
commit hash: 560bbaecca6a5760f59d292c34ec6c4ad80c97a9commit hash: 560bbaecca6a5760f59d292c34ec6c4ad80c97a9commit hash: 560bbaecca6a5760f59d292c34ec6c4ad80c97a9commit hash: 560bbaecca6a5760f59d292c34ec6c4ad80c97a9 files touched by this commit
Babak Farrokhi (farrokhi) search for other commits by this committer
databases/pg_repack: Update to 1.4.8
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
1.4.7
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.4.7
20 Jul 2022 14:21:07
commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16commit hash: d076ad94e206dda108061fe99ddb860d93cc6d16 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
databases: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Choe, Cheng-Dae" whitekid
  *  "Mahdi Mokhtari <mokhi64@gmail.com>"
  *  "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
  *  <hvo.pm@xs4all.nl>
  *  <jsmith@resonatingmedia.com>
  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Akinori MUSHA aka knu <knu@idaemons.org>
  *  Alan Snelson <Alan@Wave2.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.4.7
10 Oct 2021 10:18:20
commit hash: a866e4b9ad925bcfcd0d9889868cee945fd6ebf4commit hash: a866e4b9ad925bcfcd0d9889868cee945fd6ebf4commit hash: a866e4b9ad925bcfcd0d9889868cee945fd6ebf4commit hash: a866e4b9ad925bcfcd0d9889868cee945fd6ebf4 files touched by this commit
Babak Farrokhi (farrokhi) search for other commits by this committer
databases/pg_repack: Update to 1.4.7 (add missing distinfo)
1.4.7
09 Oct 2021 14:42:34
commit hash: 725b7557f3ac61e723ee3ae5acaa0295c783544ccommit hash: 725b7557f3ac61e723ee3ae5acaa0295c783544ccommit hash: 725b7557f3ac61e723ee3ae5acaa0295c783544ccommit hash: 725b7557f3ac61e723ee3ae5acaa0295c783544c files touched by this commit
Babak Farrokhi (farrokhi) search for other commits by this committer
databases/pg_repack: Update to 1.4.7
1.4.6
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
1.4.6
12 Oct 2020 19:49:21
Revision:552146commit hash: 9dd1c15b3caddab458ebce434a9167f03c00424bcommit hash: 9dd1c15b3caddab458ebce434a9167f03c00424bcommit hash: 9dd1c15b3caddab458ebce434a9167f03c00424bcommit hash: 9dd1c15b3caddab458ebce434a9167f03c00424bOriginal commit files touched by this commit
farrokhi search for other commits by this committer
databases/pg_repack: Update to 1.4.6
1.4.5
06 Oct 2019 20:43:07
Revision:513905commit hash: 340ec6a0787f57d98e6307e113044972b7327235commit hash: 340ec6a0787f57d98e6307e113044972b7327235commit hash: 340ec6a0787f57d98e6307e113044972b7327235commit hash: 340ec6a0787f57d98e6307e113044972b7327235Original commit files touched by this commit
farrokhi search for other commits by this committer
databases/pg_repack: Fix packaging and missing dependency

Submitted by:	olgeni
1.4.5
05 Oct 2019 10:20:01
Revision:513826commit hash: e736c06eb54583506207d30f12fb69cd0fb37c7dcommit hash: e736c06eb54583506207d30f12fb69cd0fb37c7dcommit hash: e736c06eb54583506207d30f12fb69cd0fb37c7dcommit hash: e736c06eb54583506207d30f12fb69cd0fb37c7dOriginal commit files touched by this commit
farrokhi search for other commits by this committer
databases/pg_repack: Update to 1.4.5
1.4.4_1
26 Jul 2019 20:46:57
Revision:507372commit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfcommit hash: ea8c8ec7da96df12146a2cc428077258141791cfOriginal commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
1.4.4
14 Apr 2019 09:05:19
Revision:498878commit hash: c760895e11445f2d44bbe09e8dfd9ae501b4bdb7commit hash: c760895e11445f2d44bbe09e8dfd9ae501b4bdb7commit hash: c760895e11445f2d44bbe09e8dfd9ae501b4bdb7commit hash: c760895e11445f2d44bbe09e8dfd9ae501b4bdb7Original commit files touched by this commit
farrokhi search for other commits by this committer
databases/pg_repack: Update to 1.4.4
1.4.3_1
12 Dec 2018 01:35:36
Revision:487272commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67commit hash: a9f015d155018758628ec8858a3d05e162673f67Original commit files touched by this commit
gerald search for other commits by this committer
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
1.4.3
04 Aug 2018 14:20:23
Revision:476359commit hash: a2683a2c28765ad1f0b27aa44a4d17f42a47fdd6commit hash: a2683a2c28765ad1f0b27aa44a4d17f42a47fdd6commit hash: a2683a2c28765ad1f0b27aa44a4d17f42a47fdd6commit hash: a2683a2c28765ad1f0b27aa44a4d17f42a47fdd6Original commit files touched by this commit
farrokhi search for other commits by this committer
databases/pg_repack: Update to 1.4.3

- Update to 1.4.3
- Take maintainership

Changes: https://github.com/reorg/pg_repack/releases/tag/ver_1.4.3

Security:	CVE-2018-1058
1.4.2
24 Jun 2018 00:54:27
Revision:473169commit hash: 078a5d741919a7be140ed626640199bd6c7a79dacommit hash: 078a5d741919a7be140ed626640199bd6c7a79dacommit hash: 078a5d741919a7be140ed626640199bd6c7a79dacommit hash: 078a5d741919a7be140ed626640199bd6c7a79daOriginal commit files touched by this commit
linimon search for other commits by this committer
Workaround the following problem on aarch64 by setting LLD_UNSAFE=yes:

  cc: error: invalid linker name in argument '-fuse-ld=bfd'

Neither emaste nor I can figure out exactly where the offending stanza is
coming in.  It will take someone with more knowledge of gmake debug flags,
and possibly the src build infrastructure, to figure it out.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
1.4.2
22 Jun 2018 08:28:00
Revision:473023commit hash: 4cceb98fa2ff2e38dda846d21da01670fa04c1c6commit hash: 4cceb98fa2ff2e38dda846d21da01670fa04c1c6commit hash: 4cceb98fa2ff2e38dda846d21da01670fa04c1c6commit hash: 4cceb98fa2ff2e38dda846d21da01670fa04c1c6Original commit files touched by this commit
yuri search for other commits by this committer
Correction to r473019: Revert the unintended change to the 'Created by' headers.
1.4.2
22 Jun 2018 08:04:39
Revision:473019commit hash: d7ec60f5a55093c0e18e6a9bc5deff6c14bfb129commit hash: d7ec60f5a55093c0e18e6a9bc5deff6c14bfb129commit hash: d7ec60f5a55093c0e18e6a9bc5deff6c14bfb129commit hash: d7ec60f5a55093c0e18e6a9bc5deff6c14bfb129Original commit files touched by this commit
yuri search for other commits by this committer
Reset MAINTAINER on ports maintained by amutu@amutu.com

Based on the new policy of all maintained ports reset
when maintaner is absent for 3 months.

Bug#226400 for science/py-tensorflow is ignored since 2018-03-06 (3+ months).
portscout database indicates that 48.94% of his ports aren't updated.
1.4.2
28 Oct 2017 17:41:34
Revision:453076commit hash: 7455deb29c265ddfe81a5680af3e1ecb49ecccc4commit hash: 7455deb29c265ddfe81a5680af3e1ecb49ecccc4commit hash: 7455deb29c265ddfe81a5680af3e1ecb49ecccc4commit hash: 7455deb29c265ddfe81a5680af3e1ecb49ecccc4Original commit files touched by this commit
olgeni search for other commits by this committer
Update databases/pg_repack to version 1.4.2.

This version adds support for PostgreSQL 10.

PR:		222986
Submitted by:	olgeni
Approved by:	maintainer timeout (2 weeks)
1.4.1
03 Sep 2017 14:47:44
Revision:449205commit hash: def149f42f451ff75382585a60df8f8d28b23bbdcommit hash: def149f42f451ff75382585a60df8f8d28b23bbdcommit hash: def149f42f451ff75382585a60df8f8d28b23bbdcommit hash: def149f42f451ff75382585a60df8f8d28b23bbdOriginal commit files touched by this commit
olgeni search for other commits by this committer
Update databases/pg_repack to version 1.4.1.

PR:		221981
Submitted by:	olgeni
Approved by:	maintainer
1.4.0.1
06 Jul 2017 10:10:08
Revision:445133commit hash: c94f993a8a5acd1cd19babece8de2e7cf326e4bdcommit hash: c94f993a8a5acd1cd19babece8de2e7cf326e4bdcommit hash: c94f993a8a5acd1cd19babece8de2e7cf326e4bdcommit hash: c94f993a8a5acd1cd19babece8de2e7cf326e4bdOriginal commit files touched by this commit
tz search for other commits by this committer
New port: databases/pg_repack

Pg_repack is a PostgreSQL extension which lets you remove bloat from tables and
indexes, and optionally restore the physical order of clustered indexes. Unlike
CLUSTER and VACUUM FULL it works online, without holding an exclusive lock on
the processed tables during processing. pg_repack is efficient to boot, with
performance comparable to using CLUSTER directly.

WWW: https://github.com/reorg/pg_repack

PR:           219679
Submitted by: Jov <amutu@amutu.com>

Number of commits found: 24