postgresql_16:7.2.11.4 Diagnostics
PostgreSQL 16 > Reference > PostgreSQL Client Applications > pg_dump > Diagnostics
pg_dump internally executes SELECT statements. If you have problems running pg_dump, make sure you are able to select information from the database using, for example, (see postgresql_16:7.2.18). Also, any default connection settings and environment variables used by the libpq front-end library will apply.
The database activity of pg_dump is normally collected by the cumulative statistics system. If this is undesirable, you can set parameter track_counts to false via PGOPTIONS or the ALTER USER command.