From f77c7d315b80142b084d41150324de25bf513cf2 Mon Sep 17 00:00:00 2001 From: Madhuri Naik <37347515+madhurinaik3101@users.noreply.github.com> Date: Thu, 9 Jan 2025 00:22:07 -0500 Subject: [PATCH] Update README.md Added an extra step to try if the tables do not load in pgAdmin 4 without any error.(That was in my case and this worked for me) --- bootcamp/materials/1-dimensional-data-modeling/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bootcamp/materials/1-dimensional-data-modeling/README.md b/bootcamp/materials/1-dimensional-data-modeling/README.md index 5a6ec748..b5a9e682 100644 --- a/bootcamp/materials/1-dimensional-data-modeling/README.md +++ b/bootcamp/materials/1-dimensional-data-modeling/README.md @@ -113,6 +113,11 @@ There are two methods to get Postgres running locally. ### :rotating_light: **Need help loading tables?** :rotating_light: +In Docker Desktop App, in Containers Section, inside 1-dimensional-data-modeling click on my-postgres-container, under Exec, you can run the below command +```bash +pg_restore --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" --verbose /docker-entrypoint-initdb.d/data.dump +``` + > Refer to the instructions below to resolve the issue when the data dump fails to load tables, displaying the message `PostgreSQL Database directory appears to contain a database; Skipping initialization.` ## **🚨 Tables not loading!? 🚨**