{"Entry":{"collection":"func","key":"pg-table-size","name":"pg_table_size","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.4","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"9.0"},{"descriptions_changed":true,"doc_overhaul":false,"from":"9.0","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"9.1"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"9750afff57103e13d491618f56d30c1aebd5bc80c57a8f4bdd2ba658b52f9ef7","first_version":"9.0","group":"admin","group_label":"System Administration Functions","groups":["admin"],"imported_at":"2026-09-27T17:57:29.682283+08:00","last_version":"20","name":"pg_table_size","name_key":"pg_table_size","position":29105,"present_in":["9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"pg_table_size ( regclass ) → bigint","signature_count":1,"slug":"pg-table-size","source_rev":"b7bd9cda","summary":"Computes the disk space used by the specified table, excluding indexes (but including its TOAST table if any, free space map, and visibility map).","summary_zh":""}},"Definition":{"Collection":"func","Key":"pg-table-size","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"pg-table-size","SourceRevision":"b7bd9cda","Facts":{"description":"Computes the disk space used by the specified table, excluding indexes (but including its TOAST table if any, free space map, and visibility map).","description_html":"Computes the disk space used by the specified table, excluding indexes (but including its TOAST table if any, free space map, and visibility map).","description_zh":"","description_zh_html":"","doc":{"anchor":"FUNCTIONS-ADMIN-DBSIZE","file":"functions-admin.html","slug":"18"},"group":"admin","group_label":"System Administration Functions","lang":"en","layout":"table-new","pages":["functions-admin.html"],"prose_only":false,"signatures":[{"description":"Computes the disk space used by the specified table, excluding indexes (but including its TOAST table if any, free space map, and visibility map).","description_html":"Computes the disk space used by the specified table, excluding indexes (but including its TOAST table if any, free space map, and visibility map).","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_table_size\u003c/code\u003e ( \u003ccode class=\"type\"\u003eregclass\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"pg_table_size ( regclass ) → bigint","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"FUNCTIONS-ADMIN-DBSIZE","file":"functions-admin.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"pg-table-size","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_table_size","Summary":"计算指定表所使用的磁盘空间，不包括索引（但包括其 TOAST 表（如有）、空闲空间映射和可见性映射）。","BodyHTML":"计算指定表所使用的磁盘空间，不包括索引（但包括其 TOAST 表（如有）、空闲空间映射和可见性映射）。\u003cpre\u003epg_table_size ( regclass ) → bigint\u003c/pre\u003e计算指定表所使用的磁盘空间，不包括索引（但包括其 TOAST 表（如有）、空闲空间映射和可见性映射）。","SourceRevision":"ca936764","ContentHash":"053b87e198a23e58a8371d73b8ec6259aca6cf62f21a2ff992670f21e9a3bbdd","Payload":{"description_zh":"计算指定表所使用的磁盘空间，不包括索引（但包括其 TOAST 表（如有）、空闲空间映射和可见性映射）。","description_zh_html":"计算指定表所使用的磁盘空间，不包括索引（但包括其 TOAST 表（如有）、空闲空间映射和可见性映射）。","signatures":[{"description_zh":"计算指定表所使用的磁盘空间，不包括索引（但包括其 TOAST 表（如有）、空闲空间映射和可见性映射）。","description_zh_html":"计算指定表所使用的磁盘空间，不包括索引（但包括其 TOAST 表（如有）、空闲空间映射和可见性映射）。","returns":"bigint","text":"pg_table_size ( regclass ) → bigint","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"0478af1552adb73c5f8be136f21c316fbe3c539a71e22779a9b42dcd89ac7758","Text":"pg_table_size ( regclass ) → bigint","Returns":"bigint","Payload":{"description":"Computes the disk space used by the specified table, excluding indexes (but including its TOAST table if any, free space map, and visibility map).","description_html":"Computes the disk space used by the specified table, excluding indexes (but including its TOAST table if any, free space map, and visibility map).","description_zh":"","description_zh_html":"","examples":[],"html":"\u003ccode class=\"function\"\u003epg_table_size\u003c/code\u003e ( \u003ccode class=\"type\"\u003eregclass\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003ebigint\u003c/code\u003e","returns":"bigint","text":"pg_table_size ( regclass ) → bigint","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
