postgresql command commands use database code example Example: use database postgres command \c databasename;