# psql [스키마명]
# SELECT datname FROM pg_database;
또는
# \list
# SELECT table_name FROM information_schema.tables WHERE table_schema = '스키마명';
또는
# \dt
# \q
$ psql -U [사용자명] [DB명] < [SQL파일명
\d [table name]
참조:
https://browndwarf.tistory.com/51
https://blog.uniqbuild.co.kr/?p=516