From 43425ef82e36a8e12b0f3e5d22f42dcdb7e3c2f6 Mon Sep 17 00:00:00 2001 From: Leo Shklovskii <214370+leos@users.noreply.github.com> Date: Wed, 13 Nov 2024 20:08:50 -0500 Subject: [PATCH 1/3] Adding support for postgres 17 --- src/postgresql-client/devcontainer-feature.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/postgresql-client/devcontainer-feature.json b/src/postgresql-client/devcontainer-feature.json index 86ee3ca92..05acf894b 100644 --- a/src/postgresql-client/devcontainer-feature.json +++ b/src/postgresql-client/devcontainer-feature.json @@ -1,7 +1,7 @@ { "name": "PostgreSQL Client", "id": "postgresql-client", - "version": "1.1.0", + "version": "1.2.0", "description": "PostgreSQL is a powerful, open source object-relational database system that uses and extends the SQL language combined with many features that safely store and scale the most complicated data workloads.", "options": { "version": { @@ -10,9 +10,10 @@ "13", "14", "15", - "16" + "16", + "17" ], - "default": "13", + "default": "14", "description": "Select the major version of postgres" } }, From 8ea52f993de1263e02c1690ecab2acfc054ad48a Mon Sep 17 00:00:00 2001 From: Leo Shklovskii <214370+leos@users.noreply.github.com> Date: Wed, 13 Nov 2024 20:30:12 -0500 Subject: [PATCH 2/3] Undoing breaking change --- src/postgresql-client/devcontainer-feature.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/postgresql-client/devcontainer-feature.json b/src/postgresql-client/devcontainer-feature.json index 05acf894b..308c3d126 100644 --- a/src/postgresql-client/devcontainer-feature.json +++ b/src/postgresql-client/devcontainer-feature.json @@ -13,7 +13,7 @@ "16", "17" ], - "default": "14", + "default": "13", "description": "Select the major version of postgres" } }, From ec72b563d20f7c1ef21188247ac677b36365df7e Mon Sep 17 00:00:00 2001 From: Leo Shklovskii <214370+leos@users.noreply.github.com> Date: Wed, 13 Nov 2024 20:30:29 -0500 Subject: [PATCH 3/3] Update install.sh to match default in json --- src/postgresql-client/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/postgresql-client/install.sh b/src/postgresql-client/install.sh index 4550fe238..d39571bb7 100644 --- a/src/postgresql-client/install.sh +++ b/src/postgresql-client/install.sh @@ -2,7 +2,7 @@ # Maintainer: John Rowley -TARGET_POSTGRESQL_VERSION="${VERSION:-"14"}" +TARGET_POSTGRESQL_VERSION="${VERSION:-"13"}" set -e @@ -90,4 +90,4 @@ apt-get -y install postgresql-client-${TARGET_POSTGRESQL_VERSION} # Clean up rm -rf /var/lib/apt/lists/* -echo "Done!" \ No newline at end of file +echo "Done!"