psql dbname1 -U username1 -W psql dbname1 -U username1 -h hostname1 -p 5434 -W
\q
\z
\l
\d table1
pg_dump -U postgres test > outputfile.sql
psql -U postgres template1 < outputfile.sql