10.17.0-debian-10-r39 release

This commit is contained in:
Bitnami Bot 2021-06-28 22:18:47 +00:00
parent b041d9c003
commit 7b6762fd76
3 changed files with 38 additions and 38 deletions

View File

@ -22,7 +22,7 @@ COPY rootfs /
RUN /opt/bitnami/scripts/postgresql/postunpack.sh
RUN /opt/bitnami/scripts/locales/add-extra-locales.sh
ENV BITNAMI_APP_NAME="postgresql" \
BITNAMI_IMAGE_VERSION="10.17.0-debian-10-r38" \
BITNAMI_IMAGE_VERSION="10.17.0-debian-10-r39" \
LANG="en_US.UTF-8" \
LANGUAGE="en_US:en" \
NSS_WRAPPER_LIB="/opt/bitnami/common/lib/libnss_wrapper.so" \

View File

@ -1018,17 +1018,17 @@ postgresql_execute_print_output() {
local -r user="${2:-postgres}"
local -r pass="${3:-}"
local opts
read -r -a opts <<< "${@:4}"
read -r -a opts <<<"${@:4}"
local args=("-U" "$user")
[[ -n "$db" ]] && args+=("-d" "$db")
[[ "${#opts[@]}" -gt 0 ]] && args+=( "${opts[@]}" )
[[ "${#opts[@]}" -gt 0 ]] && args+=("${opts[@]}")
# Obtain the command specified via stdin
local sql_cmd
sql_cmd="$(< /dev/stdin)"
sql_cmd="$(</dev/stdin)"
debug "Executing SQL command:\n$sql_cmd"
PGPASSWORD=$pass psql "${args[@]}" <<< "$sql_cmd"
PGPASSWORD=$pass psql "${args[@]}" <<<"$sql_cmd"
}
########################
@ -1128,22 +1128,22 @@ postgresql_ensure_user_exists() {
shift 1
while [ "$#" -gt 0 ]; do
case "$1" in
-p|--password)
shift
password="${1:?missing password}"
;;
--host)
shift
db_host="${1:?missing database host}"
;;
--port)
shift
db_port="${1:?missing database port}"
;;
*)
echo "Invalid command line flag $1" >&2
return 1
;;
-p | --password)
shift
password="${1:?missing password}"
;;
--host)
shift
db_host="${1:?missing database host}"
;;
--port)
shift
db_port="${1:?missing database port}"
;;
*)
echo "Invalid command line flag $1" >&2
return 1
;;
esac
shift
done
@ -1215,22 +1215,22 @@ postgresql_ensure_database_exists() {
shift 1
while [ "$#" -gt 0 ]; do
case "$1" in
-u|--user)
shift
user="${1:?missing database user}"
;;
--host)
shift
db_host="${1:?missing database host}"
;;
--port)
shift
db_port="${1:?missing database port}"
;;
*)
echo "Invalid command line flag $1" >&2
return 1
;;
-u | --user)
shift
user="${1:?missing database user}"
;;
--host)
shift
db_host="${1:?missing database host}"
;;
--port)
shift
db_port="${1:?missing database port}"
;;
*)
echo "Invalid command line flag $1" >&2
return 1
;;
esac
shift
done

View File

@ -47,7 +47,7 @@ Learn more about the Bitnami tagging policy and the difference between rolling t
* [`13`, `13-debian-10`, `13.3.0`, `13.3.0-debian-10-r39` (13/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/13.3.0-debian-10-r39/13/debian-10/Dockerfile)
* [`12`, `12-debian-10`, `12.7.0`, `12.7.0-debian-10-r34` (12/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/12.7.0-debian-10-r34/12/debian-10/Dockerfile)
* [`11`, `11-debian-10`, `11.12.0`, `11.12.0-debian-10-r36`, `latest` (11/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/11.12.0-debian-10-r36/11/debian-10/Dockerfile)
* [`10`, `10-debian-10`, `10.17.0`, `10.17.0-debian-10-r38` (10/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/10.17.0-debian-10-r38/10/debian-10/Dockerfile)
* [`10`, `10-debian-10`, `10.17.0`, `10.17.0-debian-10-r39` (10/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/10.17.0-debian-10-r39/10/debian-10/Dockerfile)
* [`9.6`, `9.6-debian-10`, `9.6.22`, `9.6.22-debian-10-r34` (9.6/debian-10/Dockerfile)](https://github.com/bitnami/bitnami-docker-postgresql/blob/9.6.22-debian-10-r34/9.6/debian-10/Dockerfile)
Subscribe to project updates by watching the [bitnami/postgresql GitHub repo](https://github.com/bitnami/bitnami-docker-postgresql).