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>
This commit is contained in:
parent
fc11beadbd
commit
c94f993a8a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=445133
4 changed files with 41 additions and 0 deletions
|
@ -568,6 +568,7 @@
|
|||
SUBDIR += pg_citus
|
||||
SUBDIR += pg_qualstats
|
||||
SUBDIR += pg_reorg
|
||||
SUBDIR += pg_repack
|
||||
SUBDIR += pg_rman
|
||||
SUBDIR += pg_stat_kcache
|
||||
SUBDIR += pg_statsinfo
|
||||
|
|
30
databases/pg_repack/Makefile
Normal file
30
databases/pg_repack/Makefile
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Created by: Jov <amutu@amutu.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pg_repack
|
||||
PORTVERSION= 1.4.0.1
|
||||
DISTVERSIONPREFIX= ver_
|
||||
CATEGORIES= databases
|
||||
PKGNAMEPREFIX= postgresql${PGSQL_VER:S/.//}-
|
||||
|
||||
MAINTAINER= amutu@amutu.com
|
||||
COMMENT= Reorganize tables in PostgreSQL databases with minimal locks
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
USES= gmake pgsql:9.2+
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= reorg
|
||||
|
||||
WANT_PGSQL= server
|
||||
|
||||
PLIST_FILES= bin/pg_repack \
|
||||
lib/postgresql/pg_repack.so \
|
||||
share/postgresql/extension/pg_repack--1.4.0.sql \
|
||||
share/postgresql/extension/pg_repack.control
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/pg_repack \
|
||||
${STAGEDIR}${PREFIX}/lib/postgresql/pg_repack.so
|
||||
|
||||
.include <bsd.port.mk>
|
3
databases/pg_repack/distinfo
Normal file
3
databases/pg_repack/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1496220411
|
||||
SHA256 (reorg-pg_repack-ver_1.4.0.1_GH0.tar.gz) = fb5594ebbc25c83c1939736b3f97c430e60e48934ef9498062527ffa73e21a64
|
||||
SIZE (reorg-pg_repack-ver_1.4.0.1_GH0.tar.gz) = 90995
|
7
databases/pg_repack/pkg-descr
Normal file
7
databases/pg_repack/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
|||
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
|
Loading…
Reference in a new issue