In MySQL, I used use database_name;
use database_name;
What's the psql equivalent?
psql
In PostgreSQL, you can use the \connect meta-command of the client tool psql:
\connect
\connect DBNAME
or in short:
\c DBNAME