postgresql how to use database name code example Example: use database postgres command \c databasename;