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