PostgreSQL 16.4, 15.8, 14.13, 13.16 and 12.20 added a security parameter that only pg_dump uses. (I consult on PostgreSQL through PGX Inc..)