select database postgres as a user code example Example: use database postgres command \c databasename;