I have a postgres database with multiple schemas. When I connect to the database from a shell with psql and I run \\dt it uses the default connection s
psql
\\dt
if playing with psql inside docker exec it like this:
docker exec -e "PGOPTIONS=--search_path=" -it docker_pg psql -U user db_name