The following bug has been logged on the website:
Bug reference: 18790
Logged by: Raghvendra Mishra
Email address: raghshr1351(at)gmail(dot)com
PostgreSQL version: 17.0
Operating system: Linux
Description:
Currently, pg_stat_statment doesn't track the schema to which the query
belongs. In the case of a multitenant database, it becomes hard to find a
query belonging to which customer is the culprit. It could be solely an
enhancement, so my question is, Is it useful to expose the schema name also?
If yes can I contribute to add this support?