Skip to content

Commit

Permalink
Add LZ4 Compression Support for PostgreSQL (#11504)
Browse files Browse the repository at this point in the history
Tested via buddy build.
  • Loading branch information
udsmicrosoft authored Jan 29, 2025
1 parent ec27dee commit 3563c6d
Showing 1 changed file with 7 additions and 1 deletion.
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 \
--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

0 comments on commit 3563c6d

Please sign in to comment.