command to connect to a particular database in postgres code example Example: use database postgres command \c databasename;