How to check database and database owner information on psql

 How to check database and database owner information on psql:


 You can check with \list command 


example:


testsub=> \list

                                             List of databases

      Name      |   Owner   | Encoding |     Collate     |      Ctype      |       Access privileges

----------------+-----------+----------+-----------------+-----------------+--------------------------------

 testdb             | testuser | UTF8     | en_US.UTF-8     | en_US.UTF-8     |


Comments

Popular posts from this blog

Shareplex some commands

SQL Tuning Task Creation ORA-13780: SQL statement does not exist.

ORA 700 [kskvmstatact: excessive swapping observed]