We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a3e6e1 commit 6bebca2Copy full SHA for 6bebca2
docker-entrypoint.sh
@@ -11,8 +11,8 @@ if [ -s "$PGDATA/PG_VERSION" ]; then
11
for f in /postgres-c2c-conf/docker-entrypoint.d/*; do
12
case "$f" in
13
*.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 ;;
+ *.sql) echo "$0: running $f"; psql -Upostgres < "$f"; echo ;;
+ *.sql.gz) echo "$0: running $f"; gunzip -c "$f" | psql -Upostgres; echo ;;
16
*) echo "$0: ignoring $f" ;;
17
esac
18
echo
0 commit comments