Skip to content

Commit 6bebca2

Browse files
committed
Fix entrypoint
1 parent 3a3e6e1 commit 6bebca2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ if [ -s "$PGDATA/PG_VERSION" ]; then
1111
for f in /postgres-c2c-conf/docker-entrypoint.d/*; do
1212
case "$f" in
1313
*.sh) echo "$0: running $f"; . "$f" ;;
14-
*.sql) echo "$0: running $f"; psql < "$f"; echo ;;
15-
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | psql; echo ;;
14+
*.sql) echo "$0: running $f"; psql -Upostgres < "$f"; echo ;;
15+
*.sql.gz) echo "$0: running $f"; gunzip -c "$f" | psql -Upostgres; echo ;;
1616
*) echo "$0: ignoring $f" ;;
1717
esac
1818
echo

0 commit comments

Comments
 (0)