how to select app db in postgres code example Example: use database postgres command \c databasename;