📅  最后修改于: 2022-03-11 15:05:08.940000             🧑  作者: Mango
SELECT d.datname as "Name",
pg_catalog.pg_get_userbyid(d.datdba) as "Owner"
FROM pg_catalog.pg_database d
WHERE d.datname = 'database_name'
ORDER BY 1;