\l 的使用

ostgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+-------------+-------------+-----------------------
china | postgres | EUC_CN | zh_CN.euccn | zh_CN.euccn |
korean | postgres | EUC_KR | ko_KR.euckr | ko_KR.euckr |
postgres | postgres | UTF8 | zh_CN.utf8 | zh_CN.utf8 |
template0 | postgres | UTF8 | zh_CN.utf8 | zh_CN.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | zh_CN.utf8 | zh_CN.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
(5 rows)

原文地址:https://www.cnblogs.com/liuyuanyuanGOGO/p/2826594.html