From 4309aa3ba7079ef47fef3c8b15c5622645e7d086 Mon Sep 17 00:00:00 2001 From: Akshay Joshi Date: Wed, 27 Sep 2023 17:09:49 +0530 Subject: [PATCH] Ensure that the backup works properly for PG 16 on the latest docker image. #6790 --- Dockerfile | 7 ++++++- docs/en_US/release_notes_7_8.rst | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4cd965760..1526462cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -160,8 +160,13 @@ COPY --from=env-builder /venv /venv # Copy in the tools COPY --from=tool-builder /usr/local/pgsql /usr/local/ COPY --from=pg16-builder /usr/local/lib/libpq.so.5.16 /usr/lib/ +COPY --from=pg16-builder /usr/lib/libzstd.so.1.5.5 /usr/lib/ +COPY --from=pg16-builder /usr/lib/liblz4.so.1.9.4 /usr/lib/ + RUN ln -s libpq.so.5.16 /usr/lib/libpq.so.5 && \ - ln -s libpq.so.5.16 /usr/lib/libpq.so + ln -s libpq.so.5.16 /usr/lib/libpq.so && \ + ln -s libzstd.so.1.5.5 /usr/lib/libzstd.so.1 && \ + ln -s liblz4.so.1.9.4 /usr/lib/liblz4.so.1 WORKDIR /pgadmin4 ENV PYTHONPATH=/pgadmin4 diff --git a/docs/en_US/release_notes_7_8.rst b/docs/en_US/release_notes_7_8.rst index 1e3811925..c545889ec 100644 --- a/docs/en_US/release_notes_7_8.rst +++ b/docs/en_US/release_notes_7_8.rst @@ -22,7 +22,7 @@ New features | `Issue #640 `_ - Add support for foreign table's new functionality for PG 11 and above. | `Issue #6373 `_ - Add 'GENERATED ALWAYS AS..' option while creating column constraints for Foreign Table. - | `Issue #6797 `_ - GUI representation of the system's activity using the 'system_stats' extension. #6797 + | `Issue #6797 `_ - GUI representation of the system's activity using the 'system_stats' extension. Housekeeping ************ @@ -34,3 +34,5 @@ Bug fixes | `Issue #6482 `_ - Fixed an issue where the wrong message "Current database has been moved or renamed" is displayed when debugging any function. | `Issue #6674 `_ - Fix an issue where foreign table column name becomes "none" if the user changes any column data type. + | `Issue #6718 `_ - Pin the cryptography version to fix PyO3 modules initialisation error. + | `Issue #6790 `_ - Ensure that the backup works properly for PG 16 on the latest docker image.