Created
October 24, 2023 09:17
-
-
Save rela589n/be3baf2dfd8e2174894004b48111cea1 to your computer and use it in GitHub Desktop.
Load table from SQL-dump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zcat ./table-dump.sql.gz | docker compose exec -T --env PGPASSWORD=qwerty postgresql_container psql -h postgresql_container -U postgres_user "database_name" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Load table from sql file in PostgreSQL