The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/15/docguide.html Description:
The default limit of 5000 statements applied by the pg_stat_statements.max parameter is not mentioned until farther down in the article at F.32.4 . For ease of reading and use by those of us that don't do configuration only support, I recommend making a note either in F.32.1 or the main description of F.32 to something of the degree: """ Note This table/view is not an exhaustive list of all distinct queries. Only the most commonly executed queries are saved up to a certain limit after which the less executed queries are discarded. That limit is defined by pg_stat_statements.max as described in section F.32.4 Configuration Parameters. """