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

Add LZ4 Compression Support for PostgreSQL #11504

Open
wants to merge 4 commits into
base: 3.0
Choose a base branch
from
Open
Changes from all commits
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
8 changes: 7 additions & 1 deletion SPECS/postgresql/postgresql.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Summary: PostgreSQL database engine
Name: postgresql
Version: 16.5
Release: 1%{?dist}
Release: 2%{?dist}
License: PostgreSQL
Vendor: Microsoft Corporation
Distribution: Azure Linux
Expand All @@ -15,6 +15,7 @@ Source1: %{name}.service
# Common libraries needed
BuildRequires: krb5-devel
BuildRequires: libxml2-devel
BuildRequires: lz4-devel
BuildRequires: openldap
BuildRequires: openssl-devel
BuildRequires: perl
Expand All @@ -33,6 +34,7 @@ BuildRequires: sudo
Requires: %{name}-libs = %{version}-%{release}
Requires: krb5
Requires: libxml2
Requires: lz4
Requires: openldap
Requires: openssl
Requires: readline
Expand Down Expand Up @@ -96,6 +98,7 @@ sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_man
--with-openssl \
--with-gssapi \
--with-readline \
--with-lz4 \
udsmicrosoft marked this conversation as resolved.
Show resolved Hide resolved
--with-system-tzdata=%{_datadir}/zoneinfo \
--docdir=%{_docdir}/postgresql
make -C ./src/backend generated-headers
Expand Down Expand Up @@ -240,6 +243,9 @@ fi
%{_unitdir}/%{name}.service

%changelog
* Mon Jan 15 2025 Uri Smiley <[email protected]> - 16.5-2
- Add LZ4 option to enable TOAST compression

* Mon Nov 18 2024 CBL-Mariner Servicing Account <[email protected]> - 16.5-1
- Auto-upgrade to 16.5 - CVE-2024-10976, CVE-2024-10977, CVE-2024-10978, CVE-2024-10979

Expand Down
Loading