File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ service using the official [Postgres docker image](https://hub.docker.com/_/post
1616## Options
1717| Options Id | Description | Type | Default Value |
1818| -----| -----| -----| -----|
19- | version | The postgres-client version | string | 15 |
19+ | version | The postgres-client version | string | 17 |
2020
2121## Customizations
2222
Original file line number Diff line number Diff line change 11{
22 "id" : " postgres-client" ,
3- "version" : " 1.1.3 " ,
3+ "version" : " 1.2.0 " ,
44 "name" : " Postgres Client" ,
55 "description" : " Installs needed client-side dependencies for Rails apps using Postgres." ,
66 "documentationURL" : " https://github.com/rails/devcontainer/tree/main/features/src/postgres-client" ,
77 "licenseURL" : " https://github.com/rails/devcontainer/blob/main/LICENSE.md" ,
88 "options" : {
99 "version" : {
1010 "type" : " string" ,
11- "default" : " 15 " ,
11+ "default" : " 17 " ,
1212 "description" : " The postgres client version to be installed"
1313 }
1414 }
Original file line number Diff line number Diff line change 11#! /bin/sh
22set -e
33
4- export POSTGRES_CLIENT_VERSION=" ${VERSION:- " 15 " } "
4+ export POSTGRES_CLIENT_VERSION=" ${VERSION:- " 17 " } "
55
66apt-get update -qq
77
Original file line number Diff line number Diff line change 11{
2- "version_16 " : {
2+ "version_18 " : {
33 "image" : " mcr.microsoft.com/devcontainers/base:2-trixie" ,
44 "features" : {
55 "postgres-client" : {
6- "version" : " 16 "
6+ "version" : " 18 "
77 }
88 }
99 },
10- "version_14 " : {
10+ "version_16 " : {
1111 "image" : " mcr.microsoft.com/devcontainers/base:2-trixie" ,
1212 "features" : {
1313 "postgres-client" : {
14- "version" : " 14 "
14+ "version" : " 16 "
1515 }
1616 }
1717 }
Original file line number Diff line number Diff line change 55source dev-container-features-test-lib
66
77check " PostgreSQL client is installed" bash -c " psql --version"
8- check " PostgreSQL version is 15 " bash -c " psql --version | grep -q 'psql (PostgreSQL) 15 '"
8+ check " PostgreSQL version is 17 " bash -c " psql --version | grep -q 'psql (PostgreSQL) 17 '"
99check " libpq-dev is installed" bash -c " dpkg -l | grep libpq-dev"
1010
1111reportResults
Original file line number Diff line number Diff line change 55source dev-container-features-test-lib
66
77check " PostgreSQL client is installed" bash -c " psql --version"
8- check " PostgreSQL version is 14 " bash -c " psql --version | grep -q 'psql (PostgreSQL) 14 '"
8+ check " PostgreSQL version is 18 " bash -c " psql --version | grep -q 'psql (PostgreSQL) 18 '"
99check " libpq-dev is installed" bash -c " dpkg -l | grep libpq-dev"
1010
1111reportResults
You can’t perform that action at this time.
0 commit comments