Closed
Description
It would be nice to be able to have the files in the docker-entrypoint-initdb.d
in any directory structure and have only a few files in the root of the directory, then use \ir
inside them.
This line prevents one from doing that
*.sql) echo "$0: running $f"; "${psql[@]}" < "$f"; echo ;;
If it's changed to
*.sql) echo "$0: running $f"; "${psql[@]}" -f "$f"; echo ;;
then everything works.
I can submit a PR, i just need to know do you need all the entrypoints files for all versions modified or is there a process that the one at the top is copied everywhere?
Metadata
Metadata
Assignees
Labels
No labels