> pg_catalog.concat_ws(', ', > CASE WHEN pam.admin_option THEN 'ADMIN' END, > CASE WHEN m.rolinherit THEN 'INHERIT' END, > 'SET' > ) AS "Options",
That does not seem right. Is it impossible for pam.set_option to be false? Even if it is, should this code assume that?
That replacement is for version 15 and earlier where pam.set_option doesn't exist at all and the presence of a row here means that set has been granted.