Skip to content

Refactor bloating.sql to use relname instead of tablename for c…#9

Merged
gmartinez-dbai merged 1 commit intomainfrom
fixes-bloating
Dec 21, 2025
Merged

Refactor bloating.sql to use relname instead of tablename for c…#9
gmartinez-dbai merged 1 commit intomainfrom
fixes-bloating

Conversation

@gmartinez-dbai
Copy link
Copy Markdown
Collaborator

…onsistency with PostgreSQL system catalogs.
This pull request updates the monitoring/bloating.sql script to use the correct column name for table identification in PostgreSQL system views. The change improves accuracy and compatibility when estimating table bloat.

Query improvements:

  • Replaced usage of the tablename column with the correct relname column in the SQL query, ensuring accurate table name references and size calculations in the bloat estimation output.

…onsistency with PostgreSQL system catalogs.
@gmartinez-dbai gmartinez-dbai merged commit 9f41959 into main Dec 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant