Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- psql "dbname=connPGdb host=localhost user=ycPgUser password=ycPgSecret port=5432"
- psql "dbname=sessionDB host=localhost user=ycPgUser password=ycPgSecret port=5432"
- to list all database
- \l
- to select a database
- \c sessiondb
- to display all tables in public
- \dt
- to get all tables in default_schema
- \dt local_schema.*
Add Comment
Please, Sign In to add comment