Skip to content

Commit abd2859

Browse files
authored
Merge pull request #2 from chrometaro/remove_no-password
remove postgrs 8.3 unsupported option '--no-password'
2 parents c1562b7 + 5db991b commit abd2859

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

8.3/docker-entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ if [ "$1" = 'postgres' ]; then
126126
file_env 'POSTGRES_DB' "$POSTGRES_USER"
127127

128128
export PGPASSWORD="${PGPASSWORD:-$POSTGRES_PASSWORD}"
129-
psql=( psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --no-password )
129+
psql=( psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" )
130130

131131
if [ "$POSTGRES_DB" != 'postgres' ]; then
132132
"${psql[@]}" --dbname postgres --set db="$POSTGRES_DB" <<-'EOSQL'

0 commit comments

Comments
 (0)