I have DB \"test\" in PostgreSql. I want to write sql to get owner my database.
If you use the psql command-line tool, you can simply use \l
\l