Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amjadafanah/4b86acd41969c817367f7c50930cf58e to your computer and use it in GitHub Desktop.
Save amjadafanah/4b86acd41969c817367f7c50930cf58e to your computer and use it in GitHub Desktop.
## Execute these commands on the host running the postgres_slave container
## Enter the postgres_slave container
docker exec -it [postgres_slave_container_name] bash
## Access the names database using psql
psql names
## List the tables
\dt;
## Select the data from the "namedirectory" table
select * from "NameDirectory";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment