📜  显示 postgresql 代码示例中的所有数据库

📅  最后修改于: 2022-03-11 15:05:22.309000             🧑  作者: Mango

代码示例2
-- Query to get all database in PostgreSQL and their oid (alternative to \l) 
SELECT oid, datname FROM pg_database;