fix get_db_info

using pg_roles instead of pg_user
if database owner is a role (not user) then it can not select form pg_user table.