c9-stream-16
imports/c9-stream-16/pg_repack-1.4.8-2.module+el9.5.0+22226+e8900db7
commit
bbe5f30bd7
@ -0,0 +1 @@
|
||||
SOURCES/ver_1.4.8.tar.gz
|
@ -0,0 +1 @@
|
||||
74e54f43f6c062644e442224eacc2a2bc95a04ef SOURCES/ver_1.4.8.tar.gz
|
@ -0,0 +1,72 @@
|
||||
Name: pg_repack
|
||||
Version: 1.4.8
|
||||
Release: 2%{?dist}
|
||||
Summary: Reorganize tables in PostgreSQL databases without any locks
|
||||
|
||||
License: BSD
|
||||
URL: http://reorg.github.io/%{name}/
|
||||
Source0: https://github.com/reorg/%{name}/archive/ver_%{version}.tar.gz
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: lz4-devel, libzstd-devel
|
||||
BuildRequires: postgresql, gcc, openssl-devel, postgresql-server
|
||||
BuildRequires: postgresql-server-devel >= 16
|
||||
BuildRequires: readline-devel, zlib-devel, postgresql-static
|
||||
BuildRequires: python3-docutils
|
||||
%{?postgresql_module_requires}
|
||||
|
||||
%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.
|
||||
|
||||
Please check the documentation (in the doc directory or online)
|
||||
for installation and usage instructions.
|
||||
%prep
|
||||
%setup -n %{name}-ver_%{version} -q
|
||||
|
||||
|
||||
%build
|
||||
|
||||
make %{?_smp_mflags}
|
||||
cd doc
|
||||
make
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%{_bindir}/%{name}
|
||||
%{_libdir}/pgsql/%{name}.so
|
||||
%if 0%{?postgresql_server_llvmjit}
|
||||
%{_libdir}/pgsql/bitcode/%{name}.index.bc
|
||||
%{_libdir}/pgsql/bitcode/%{name}/pgut/pgut-spi.bc
|
||||
%{_libdir}/pgsql/bitcode/%{name}/repack.bc
|
||||
%endif
|
||||
%{_datadir}/pgsql/extension/%{name}.control
|
||||
%{_datadir}/pgsql/extension/%{name}--%{version}.sql
|
||||
|
||||
%license COPYRIGHT
|
||||
|
||||
%doc README.rst
|
||||
%doc doc/%{name}.html
|
||||
%doc doc/%{name}.rst
|
||||
%doc doc/%{name}_jp.html
|
||||
%doc doc/%{name}_jp.rst
|
||||
%doc doc/release.html
|
||||
%doc doc/release.rst
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 19 2024 Ales Nezbeda <anezbeda@redhat.com> 1.4.8-2
|
||||
- Add new build dependencies to fix build with lz4 enabled
|
||||
- Related: RHEL-47604
|
||||
|
||||
* Fri Oct 13 2023 Filip Janus <fjanus@redhat.com> - 1.4.8-1
|
||||
- Resolves: RHEL-3636
|
||||
- Initial import for PG 16 module
|
Loading…
Reference in new issue