Skip to content

Commit 5c9acc1

Browse files
committed
1) Added PG 18 in the github runner.
2) Added PG 18 in the docker container file.
1 parent c75bba0 commit 5c9acc1

6 files changed

Lines changed: 18 additions & 15 deletions

File tree

.github/workflows/run-feature-tests-pg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
pgver: [13, 14, 15, 16, 17]
23+
pgver: [13, 14, 15, 16, 17, 18]
2424

2525
runs-on: ubuntu-22.04
2626

.github/workflows/run-python-tests-pg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fail-fast: false
2222
matrix:
2323
os: [macos-latest, ubuntu-22.04, windows-latest]
24-
pgver: [13, 14, 15, 16, 17]
24+
pgver: [13, 14, 15, 16, 17, 18]
2525

2626
runs-on: ${{ matrix.os }}
2727

Dockerfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,21 +120,16 @@ RUN rm -rf /pgadmin4/docs/en_US/_build/html/_static/*.png
120120
# Create additional builders to get all of the PostgreSQL utilities
121121
#########################################################################
122122

123-
FROM postgres:12-alpine AS pg12-builder
124123
FROM postgres:13-alpine AS pg13-builder
125124
FROM postgres:14-alpine AS pg14-builder
126125
FROM postgres:15-alpine AS pg15-builder
127126
FROM postgres:16-alpine AS pg16-builder
128127
FROM postgres:17-alpine AS pg17-builder
128+
FROM postgres:18-alpine AS pg18-builder
129129

130130
FROM alpine:latest AS tool-builder
131131

132132
# Copy the PG binaries
133-
COPY --from=pg12-builder /usr/local/bin/pg_dump /usr/local/pgsql/pgsql-12/
134-
COPY --from=pg12-builder /usr/local/bin/pg_dumpall /usr/local/pgsql/pgsql-12/
135-
COPY --from=pg12-builder /usr/local/bin/pg_restore /usr/local/pgsql/pgsql-12/
136-
COPY --from=pg12-builder /usr/local/bin/psql /usr/local/pgsql/pgsql-12/
137-
138133
COPY --from=pg13-builder /usr/local/bin/pg_dump /usr/local/pgsql/pgsql-13/
139134
COPY --from=pg13-builder /usr/local/bin/pg_dumpall /usr/local/pgsql/pgsql-13/
140135
COPY --from=pg13-builder /usr/local/bin/pg_restore /usr/local/pgsql/pgsql-13/
@@ -160,6 +155,11 @@ COPY --from=pg17-builder /usr/local/bin/pg_dumpall /usr/local/pgsql/pgsql-17/
160155
COPY --from=pg17-builder /usr/local/bin/pg_restore /usr/local/pgsql/pgsql-17/
161156
COPY --from=pg17-builder /usr/local/bin/psql /usr/local/pgsql/pgsql-17/
162157

158+
COPY --from=pg18-builder /usr/local/bin/pg_dump /usr/local/pgsql/pgsql-18/
159+
COPY --from=pg18-builder /usr/local/bin/pg_dumpall /usr/local/pgsql/pgsql-18/
160+
COPY --from=pg18-builder /usr/local/bin/pg_restore /usr/local/pgsql/pgsql-18/
161+
COPY --from=pg18-builder /usr/local/bin/psql /usr/local/pgsql/pgsql-18/
162+
163163
#########################################################################
164164
# Assemble everything into the final container.
165165
#########################################################################
@@ -171,12 +171,12 @@ COPY --from=env-builder /venv /venv
171171

172172
# Copy in the tools
173173
COPY --from=tool-builder /usr/local/pgsql /usr/local/
174-
COPY --from=pg17-builder /usr/local/lib/libpq.so.5.17 /usr/lib/
175-
COPY --from=pg17-builder /usr/lib/libzstd.so.1.5.7 /usr/lib/
176-
COPY --from=pg17-builder /usr/lib/liblz4.so.1.10.0 /usr/lib/
174+
COPY --from=pg18-builder /usr/local/lib/libpq.so.5.18 /usr/lib/
175+
COPY --from=pg18-builder /usr/lib/libzstd.so.1.5.7 /usr/lib/
176+
COPY --from=pg18-builder /usr/lib/liblz4.so.1.10.0 /usr/lib/
177177

178-
RUN ln -s libpq.so.5.17 /usr/lib/libpq.so.5 && \
179-
ln -s libpq.so.5.17 /usr/lib/libpq.so && \
178+
RUN ln -s libpq.so.5.18 /usr/lib/libpq.so.5 && \
179+
ln -s libpq.so.5.18 /usr/lib/libpq.so && \
180180
ln -s libzstd.so.1.5.7 /usr/lib/libzstd.so.1 && \
181181
ln -s liblz4.so.1.10.0 /usr/lib/liblz4.so.1
182182

docs/en_US/container_deployment.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ The default binary paths set in the container are as follows:
5353
.. code-block:: bash
5454
5555
DEFAULT_BINARY_PATHS = {
56+
'pg-18': '/usr/local/pgsql-18',
5657
'pg-17': '/usr/local/pgsql-17',
5758
'pg-16': '/usr/local/pgsql-16',
5859
'pg-15': '/usr/local/pgsql-15',

docs/en_US/release_notes_9_9.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ New features
2222

2323
| `Issue #6394 <https://github.com/pgadmin-org/pgadmin4/issues/6394>`_ - Added "MULTIRANGE_TYPE_NAME" option while creating a Range Type.
2424
| `Issue #6395 <https://github.com/pgadmin-org/pgadmin4/issues/6395>`_ - Added "SUBSCRIPT" option while creating a External Type.
25+
| `Issue #8932 <https://github.com/pgadmin-org/pgadmin4/issues/8932>`_ - Added 'failover' and 'two_phase' parameter support in CREATE/ALTER SUBSCRIPTION for PostgreSQL v17+.
2526
2627
Housekeeping
2728
************
@@ -31,6 +32,6 @@ Bug fixes
3132
*********
3233

3334
| `Issue #9098 <https://github.com/pgadmin-org/pgadmin4/issues/9098>`_ - Fixed an issue where the query tool displayed 'default' instead of 'null' for null text data in the data output.
34-
| `Issue #9158 <https://github.com/pgadmin-org/pgadmin4/issues/9158>`_ - Fixed an issue where saving the newly changed preferences was not reflecting on the preferences tab.
3535
| `Issue #9125 <https://github.com/pgadmin-org/pgadmin4/issues/9125>`_ - Fixed an issue where the pgAdmin configuration database wasn't being created on a fresh install when an external database was used for the configuration.
3636
| `Issue #9157 <https://github.com/pgadmin-org/pgadmin4/issues/9157>`_ - Fixed an issue where shortcuts are not working as expected on multiple keyboard layouts.
37+
| `Issue #9158 <https://github.com/pgadmin-org/pgadmin4/issues/9158>`_ - Fixed an issue where saving the newly changed preferences was not reflecting on the preferences tab.

pkg/docker/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ CA_FILE = '/etc/ssl/certs/ca-certificates.crt'
4848
LOG_FILE = '/dev/null'
4949
HELP_PATH = '../../docs'
5050
DEFAULT_BINARY_PATHS = {
51-
'pg': '/usr/local/pgsql-17',
51+
'pg': '/usr/local/pgsql-18',
52+
'pg-18': '/usr/local/pgsql-18',
5253
'pg-17': '/usr/local/pgsql-17',
5354
'pg-16': '/usr/local/pgsql-16',
5455
'pg-15': '/usr/local/pgsql-15',

0 commit comments

Comments
 (0)