-
Notifications
You must be signed in to change notification settings - Fork 4.1k
pg_catalog.pg_relation_size() #86017
Copy link
Copy link
Open
Labels
A-sql-pgcompatSemantic compatibility with PostgreSQLSemantic compatibility with PostgreSQLC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)E-starterMight be suitable for a starter project for new employees or team members.Might be suitable for a starter project for new employees or team members.O-communityOriginated from the communityOriginated from the communityT-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)X-blathers-triagedblathers was able to find an ownerblathers was able to find an owner
Description
Is your feature request related to a problem? Please describe.
Not having pg_catalog.pg_relation_size() breaks usql's introspection queries.
Describe the solution you'd like
Adding pg_relation_size
Describe alternatives you've considered
Trying to replace usql's usage of pg_relation_size with a cockroach specific implementation for metadata and instrumentation.
Additional context
https://github.com/xo/usql/blob/master/drivers/metadata/postgres/metadata.go The ideal output would be supporting the queries built here, to support all these features.
related: #20712
Jira issue: CRDB-18527
Epic CRDB-60810
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-sql-pgcompatSemantic compatibility with PostgreSQLSemantic compatibility with PostgreSQLC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)E-starterMight be suitable for a starter project for new employees or team members.Might be suitable for a starter project for new employees or team members.O-communityOriginated from the communityOriginated from the communityT-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)X-blathers-triagedblathers was able to find an ownerblathers was able to find an owner