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