postgresql-citus-patroni-image/postgres-shim.sh
2024-06-23 11:54:59 +03:00

12 lines
206 B
Bash
Executable File

#!/bin/sh
set -ef
if [ -n "${CITUS_PGPASSWORD+1}" ] ; then
PGPASSWORD=${CITUS_PGPASSWORD}
export PGPASSWORD
unset CITUS_PGPASSWORD
fi
export PATH="${PATH#/usr/local/sbin:}"
exec postgres "$@"