Andrew Gilligan <[EMAIL PROTECTED]> writes: > Showing the size on \l+ probably makes more sense, but I imagine that > would require a very different approach due to the permissions changes?
I haven't experimented, but perhaps something along the lines of case when has_database_privilege(current_user, db.oid, 'connect') then pg_database_size... else null end would fix it. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend