postgresql-citus-patroni-image/postgres-shim.sh

12 lines
206 B
Bash
Raw Permalink Normal View History

2024-06-23 11:54:59 +03:00
#!/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 "$@"