BUG #18790: Pg_stat_statements doesn't track schema.
PG Bug reporting form <noreply@postgresql.org>
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: raghshr1351@gmail.com
Date: 2025-01-29T19:10:33Z
Lists: pgsql-bugs
The following bug has been logged on the website: Bug reference: 18790 Logged by: Raghvendra Mishra Email address: raghshr1351@gmail.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?