In PostgreSQL, the equivalent of the SHOW DATABASES command in MySQL is the \l command. This command is used to list all of the databases on the current PostgreSQL server.
To use this command, simply connect to your PostgreSQL server using the psql command-line interface, and then enter \l at the prompt. This will display a list of all of the databases on the server, along with some additional information such as the owner of the database and the encoding used.
Postgres SHOW DATABASES Example
For example, if you have two databases named mydb1 and mydb2, the output of the \l command might look something like this:
```
postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
———–+———-+———-+————+————+——————–
Beekeeper Studio Adalah GUI Database Gratis & Open Source
Alat query SQL & editor terbaik yang pernah saya gunakan. Menyediakan semua yang saya butuhkan untuk mengelola database saya. - ⭐⭐⭐⭐⭐ Mit
Beekeeper Studio cepat, intuitif, dan mudah digunakan. Beekeeper mendukung banyak database dan berfungsi dengan baik di Windows, Mac, dan Linux.
Apa Kata Pengguna Tentang Beekeeper Studio
"Beekeeper Studio sepenuhnya menggantikan alur kerja SQL lama saya. Cepat, intuitif, dan membuat pekerjaan database menyenangkan lagi."
"Saya sudah mencoba banyak GUI database, tapi Beekeeper menemukan keseimbangan sempurna antara fitur dan kesederhanaan. Langsung berfungsi."