{"kind": "metric", "major": "18", "item": {"slug": "pg_stat_xact_sys_tables-relname", "name": "pg_stat_xact_sys_tables.relname", "name_zh": "", "category": "pg_stat_xact_sys_tables", "summary": "Source-defined field pg_stat_xact_sys_tables.relname. The same-version manual describes this view but does not enumerate this column; the exact SQL expression is retained below.", "aliases": ["relname", "pg_stat_xact_sys_tables"], "content_hash": "98493c886ceaf13a58bbaaa4749b055f74643d2d798c9d8733b312cf8ec39aea", "versions": {"10": {"view": "pg_stat_xact_sys_tables", "facts": [{"label": "View", "value": "pg_stat_xact_sys_tables"}, {"label": "Field", "value": "relname"}, {"label": "Field evidence", "value": "Source declaration; not individually enumerated by the manual"}, {"label": "Expression declared in", "value": "pg_stat_xact_all_tables"}], "field": "relname", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_xact_sys_tables/?v=10", "label": "pg_stat_xact_sys_tables columns"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "label": "10.23", "major": "10", "channel": "stable", "revision": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}, "sources": [{"url": "/docs/10/monitoring-stats.html#id-1.6.15.7.6.7.2.2.9.1.2", "path": "monitoring-stats.html", "label": "PostgreSQL 10 English manual", "sha256": "8b88457ddc21d8cbc59bc88fb9e07a79090419ef77c3d7f05b03e0f66a2bac3f"}, {"url": "https://ftp.postgresql.org/pub/source/v10.23/postgresql-10.23.tar.bz2", "path": "src/backend/catalog/system_views.sql", "label": "10.23 source archive \u00b7 src/backend/catalog/system_views.sql", "sha256": "7e002812f3c1be807bf2f17d0e82535001bcaa044bb76be762aa3fcc3fd1f0f3", "archive_sha256": "94a4b2528372458e5662c18d406629266667c437198160a18cdfd2c4a4d6eee9"}], "sections": [{"title": "View semantics", "paragraphs": ["Same as pg_stat_xact_all_tables, except that only system tables are shown.", "Similar to pg_stat_all_tables, but counts actions taken so far within the current transaction (which are not yet included in pg_stat_all_tables and related views). The columns for numbers of live and dead rows and vacuum and analyze actions are not present in this view."]}, {"title": "Collection and transaction context", "paragraphs": ["A transaction can also see its own statistics (as yet untransmitted to the collector) in the views pg_stat_xact_all_tables , pg_stat_xact_sys_tables , pg_stat_xact_user_tables , and pg_stat_xact_user_functions . These numbers do not act as stated above; instead they update continuously throughout the transaction."]}, {"code": "C.relname", "title": "Exact source expression", "paragraphs": ["No per-field definition, effective SQL type, unit, or reset rule is inferred from this expression."]}, {"code": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "title": "Complete source view definition", "paragraphs": []}, {"code": "CREATE VIEW pg_stat_xact_all_tables AS\nSELECT\n            C.oid AS relid,\n            N.nspname AS schemaname,\n            C.relname AS relname,\n            pg_stat_get_xact_numscans(C.oid) AS seq_scan,\n            pg_stat_get_xact_tuples_returned(C.oid) AS seq_tup_read,\n            sum(pg_stat_get_xact_numscans(I.indexrelid))::bigint AS idx_scan,\n            sum(pg_stat_get_xact_tuples_fetched(I.indexrelid))::bigint +\n            pg_stat_get_xact_tuples_fetched(C.oid) AS idx_tup_fetch,\n            pg_stat_get_xact_tuples_inserted(C.oid) AS n_tup_ins,\n            pg_stat_get_xact_tuples_updated(C.oid) AS n_tup_upd,\n            pg_stat_get_xact_tuples_deleted(C.oid) AS n_tup_del,\n            pg_stat_get_xact_tuples_hot_updated(C.oid) AS n_tup_hot_upd\n    FROM pg_class C LEFT JOIN\n         pg_index I ON C.oid = I.indrelid\n         LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)\n    WHERE C.relkind IN ('r', 't', 'm')\n    GROUP BY C.oid, N.nspname, C.relname;", "title": "Source projection", "paragraphs": ["This view uses SELECT * from pg_stat_xact_all_tables; the displayed expression is declared by that same-version source view."]}], "sql_type": "", "signature": "SELECT relname FROM pg_catalog.pg_stat_xact_sys_tables;", "documented": false, "description": ["Source-defined field pg_stat_xact_sys_tables.relname. The same-version manual describes this view but does not enumerate this column; the exact SQL expression is retained below."], "manual_html": "", "manual_path": "/docs/10/monitoring-stats.html", "source_only": true, "source_view": "pg_stat_xact_all_tables", "comparison_data": {"view": "pg_stat_xact_sys_tables", "field": "relname", "source_view": "pg_stat_xact_all_tables", "view_definition": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "source_expression": "C.relname"}, "comparison_hash": "fce6a68fbed37fc641c7100f0a92b5584dfd8cccba63c140b6cc72257a70df43", "units_mentioned": [], "source_expression": "C.relname"}, "11": {"view": "pg_stat_xact_sys_tables", "facts": [{"label": "View", "value": "pg_stat_xact_sys_tables"}, {"label": "Field", "value": "relname"}, {"label": "Field evidence", "value": "Source declaration; not individually enumerated by the manual"}, {"label": "Expression declared in", "value": "pg_stat_xact_all_tables"}], "field": "relname", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_xact_sys_tables/?v=11", "label": "pg_stat_xact_sys_tables columns"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "label": "11.22", "major": "11", "channel": "stable", "revision": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}, "sources": [{"url": "/docs/11/monitoring-stats.html#id-1.6.15.7.6.7.2.2.9.1.2", "path": "monitoring-stats.html", "label": "PostgreSQL 11 English manual", "sha256": "8b7b421aabe5ecaae695cb42a270d7192bfe2bfbd1ac2aa756087c177f734600"}, {"url": "https://ftp.postgresql.org/pub/source/v11.22/postgresql-11.22.tar.bz2", "path": "src/backend/catalog/system_views.sql", "label": "11.22 source archive \u00b7 src/backend/catalog/system_views.sql", "sha256": "229f27b752782093d90b09db61dd07c18125e6870751f82a447b5e7c18e906ca", "archive_sha256": "2cb7c97d7a0d7278851bbc9c61f467b69c094c72b81740b751108e7892ebe1f0"}], "sections": [{"title": "View semantics", "paragraphs": ["Same as pg_stat_xact_all_tables, except that only system tables are shown.", "Similar to pg_stat_all_tables, but counts actions taken so far within the current transaction (which are not yet included in pg_stat_all_tables and related views). The columns for numbers of live and dead rows and vacuum and analyze actions are not present in this view."]}, {"title": "Collection and transaction context", "paragraphs": ["A transaction can also see its own statistics (as yet untransmitted to the collector) in the views pg_stat_xact_all_tables , pg_stat_xact_sys_tables , pg_stat_xact_user_tables , and pg_stat_xact_user_functions . These numbers do not act as stated above; instead they update continuously throughout the transaction."]}, {"code": "C.relname", "title": "Exact source expression", "paragraphs": ["No per-field definition, effective SQL type, unit, or reset rule is inferred from this expression."]}, {"code": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "title": "Complete source view definition", "paragraphs": []}, {"code": "CREATE VIEW pg_stat_xact_all_tables AS\nSELECT\n            C.oid AS relid,\n            N.nspname AS schemaname,\n            C.relname AS relname,\n            pg_stat_get_xact_numscans(C.oid) AS seq_scan,\n            pg_stat_get_xact_tuples_returned(C.oid) AS seq_tup_read,\n            sum(pg_stat_get_xact_numscans(I.indexrelid))::bigint AS idx_scan,\n            sum(pg_stat_get_xact_tuples_fetched(I.indexrelid))::bigint +\n            pg_stat_get_xact_tuples_fetched(C.oid) AS idx_tup_fetch,\n            pg_stat_get_xact_tuples_inserted(C.oid) AS n_tup_ins,\n            pg_stat_get_xact_tuples_updated(C.oid) AS n_tup_upd,\n            pg_stat_get_xact_tuples_deleted(C.oid) AS n_tup_del,\n            pg_stat_get_xact_tuples_hot_updated(C.oid) AS n_tup_hot_upd\n    FROM pg_class C LEFT JOIN\n         pg_index I ON C.oid = I.indrelid\n         LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)\n    WHERE C.relkind IN ('r', 't', 'm')\n    GROUP BY C.oid, N.nspname, C.relname;", "title": "Source projection", "paragraphs": ["This view uses SELECT * from pg_stat_xact_all_tables; the displayed expression is declared by that same-version source view."]}], "sql_type": "", "signature": "SELECT relname FROM pg_catalog.pg_stat_xact_sys_tables;", "documented": false, "description": ["Source-defined field pg_stat_xact_sys_tables.relname. The same-version manual describes this view but does not enumerate this column; the exact SQL expression is retained below."], "manual_html": "", "manual_path": "/docs/11/monitoring-stats.html", "source_only": true, "source_view": "pg_stat_xact_all_tables", "comparison_data": {"view": "pg_stat_xact_sys_tables", "field": "relname", "source_view": "pg_stat_xact_all_tables", "view_definition": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "source_expression": "C.relname"}, "comparison_hash": "fce6a68fbed37fc641c7100f0a92b5584dfd8cccba63c140b6cc72257a70df43", "units_mentioned": [], "source_expression": "C.relname"}, "12": {"view": "pg_stat_xact_sys_tables", "facts": [{"label": "View", "value": "pg_stat_xact_sys_tables"}, {"label": "Field", "value": "relname"}, {"label": "Field evidence", "value": "Source declaration; not individually enumerated by the manual"}, {"label": "Expression declared in", "value": "pg_stat_xact_all_tables"}], "field": "relname", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_xact_sys_tables/?v=12", "label": "pg_stat_xact_sys_tables columns"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "label": "12.22", "major": "12", "channel": "stable", "revision": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}, "sources": [{"url": "/docs/12/monitoring-stats.html#id-1.6.14.7.6.8.2.2.9.1.2", "path": "monitoring-stats.html", "label": "PostgreSQL 12 English manual", "sha256": "3a764eaa784efc0eed1081cdfc2bf313c91bd17122d66dd16055d8b640320699"}, {"url": "https://ftp.postgresql.org/pub/source/v12.22/postgresql-12.22.tar.bz2", "path": "src/backend/catalog/system_views.sql", "label": "12.22 source archive \u00b7 src/backend/catalog/system_views.sql", "sha256": "4d0742763f1659df3cc9971fe734c82ce375a87bcb88c30ace8a4a2e0968f536", "archive_sha256": "8df3c0474782589d3c6f374b5133b1bd14d168086edbc13c6e72e67dd4527a3b"}], "sections": [{"title": "View semantics", "paragraphs": ["Same as pg_stat_xact_all_tables, except that only system tables are shown.", "Similar to pg_stat_all_tables, but counts actions taken so far within the current transaction (which are not yet included in pg_stat_all_tables and related views). The columns for numbers of live and dead rows and vacuum and analyze actions are not present in this view."]}, {"title": "Collection and transaction context", "paragraphs": ["A transaction can also see its own statistics (as yet untransmitted to the collector) in the views pg_stat_xact_all_tables , pg_stat_xact_sys_tables , pg_stat_xact_user_tables , and pg_stat_xact_user_functions . These numbers do not act as stated above; instead they update continuously throughout the transaction."]}, {"code": "C.relname", "title": "Exact source expression", "paragraphs": ["No per-field definition, effective SQL type, unit, or reset rule is inferred from this expression."]}, {"code": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "title": "Complete source view definition", "paragraphs": []}, {"code": "CREATE VIEW pg_stat_xact_all_tables AS\nSELECT\n            C.oid AS relid,\n            N.nspname AS schemaname,\n            C.relname AS relname,\n            pg_stat_get_xact_numscans(C.oid) AS seq_scan,\n            pg_stat_get_xact_tuples_returned(C.oid) AS seq_tup_read,\n            sum(pg_stat_get_xact_numscans(I.indexrelid))::bigint AS idx_scan,\n            sum(pg_stat_get_xact_tuples_fetched(I.indexrelid))::bigint +\n            pg_stat_get_xact_tuples_fetched(C.oid) AS idx_tup_fetch,\n            pg_stat_get_xact_tuples_inserted(C.oid) AS n_tup_ins,\n            pg_stat_get_xact_tuples_updated(C.oid) AS n_tup_upd,\n            pg_stat_get_xact_tuples_deleted(C.oid) AS n_tup_del,\n            pg_stat_get_xact_tuples_hot_updated(C.oid) AS n_tup_hot_upd\n    FROM pg_class C LEFT JOIN\n         pg_index I ON C.oid = I.indrelid\n         LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)\n    WHERE C.relkind IN ('r', 't', 'm')\n    GROUP BY C.oid, N.nspname, C.relname;", "title": "Source projection", "paragraphs": ["This view uses SELECT * from pg_stat_xact_all_tables; the displayed expression is declared by that same-version source view."]}], "sql_type": "", "signature": "SELECT relname FROM pg_catalog.pg_stat_xact_sys_tables;", "documented": false, "description": ["Source-defined field pg_stat_xact_sys_tables.relname. The same-version manual describes this view but does not enumerate this column; the exact SQL expression is retained below."], "manual_html": "", "manual_path": "/docs/12/monitoring-stats.html", "source_only": true, "source_view": "pg_stat_xact_all_tables", "comparison_data": {"view": "pg_stat_xact_sys_tables", "field": "relname", "source_view": "pg_stat_xact_all_tables", "view_definition": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "source_expression": "C.relname"}, "comparison_hash": "fce6a68fbed37fc641c7100f0a92b5584dfd8cccba63c140b6cc72257a70df43", "units_mentioned": [], "source_expression": "C.relname"}, "13": {"view": "pg_stat_xact_sys_tables", "facts": [{"label": "View", "value": "pg_stat_xact_sys_tables"}, {"label": "Field", "value": "relname"}, {"label": "Field evidence", "value": "Source declaration; not individually enumerated by the manual"}, {"label": "Expression declared in", "value": "pg_stat_xact_all_tables"}], "field": "relname", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_xact_sys_tables/?v=13", "label": "pg_stat_xact_sys_tables columns"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "label": "13.23", "major": "13", "channel": "stable", "revision": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}, "sources": [{"url": "/docs/13/monitoring-stats.html#id-1.6.14.7.6.8.2.2.9.1.2", "path": "monitoring-stats.html", "label": "PostgreSQL 13 English manual", "sha256": "a8ec0d199d592259f260a41ccb2821e582cd6dae1014a784e1e86203740afcb0"}, {"url": "https://ftp.postgresql.org/pub/source/v13.23/postgresql-13.23.tar.bz2", "path": "src/backend/catalog/system_views.sql", "label": "13.23 source archive \u00b7 src/backend/catalog/system_views.sql", "sha256": "a8789c61c5102a10f5f7608b058960f33f228eac756a518e7500790d3f0742b7", "archive_sha256": "6ec3c82726af92b7dec873fa1cdf881eca92a4219787dfad05acb6b10e041fd6"}], "sections": [{"title": "View semantics", "paragraphs": ["Same as pg_stat_xact_all_tables, except that only system tables are shown.", "Similar to pg_stat_all_tables, but counts actions taken so far within the current transaction (which are not yet included in pg_stat_all_tables and related views). The columns for numbers of live and dead rows and vacuum and analyze actions are not present in this view."]}, {"title": "Collection and transaction context", "paragraphs": ["A transaction can also see its own statistics (as yet untransmitted to the collector) in the views pg_stat_xact_all_tables , pg_stat_xact_sys_tables , pg_stat_xact_user_tables , and pg_stat_xact_user_functions . These numbers do not act as stated above; instead they update continuously throughout the transaction."]}, {"code": "C.relname", "title": "Exact source expression", "paragraphs": ["No per-field definition, effective SQL type, unit, or reset rule is inferred from this expression."]}, {"code": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "title": "Complete source view definition", "paragraphs": []}, {"code": "CREATE VIEW pg_stat_xact_all_tables AS\nSELECT\n            C.oid AS relid,\n            N.nspname AS schemaname,\n            C.relname AS relname,\n            pg_stat_get_xact_numscans(C.oid) AS seq_scan,\n            pg_stat_get_xact_tuples_returned(C.oid) AS seq_tup_read,\n            sum(pg_stat_get_xact_numscans(I.indexrelid))::bigint AS idx_scan,\n            sum(pg_stat_get_xact_tuples_fetched(I.indexrelid))::bigint +\n            pg_stat_get_xact_tuples_fetched(C.oid) AS idx_tup_fetch,\n            pg_stat_get_xact_tuples_inserted(C.oid) AS n_tup_ins,\n            pg_stat_get_xact_tuples_updated(C.oid) AS n_tup_upd,\n            pg_stat_get_xact_tuples_deleted(C.oid) AS n_tup_del,\n            pg_stat_get_xact_tuples_hot_updated(C.oid) AS n_tup_hot_upd\n    FROM pg_class C LEFT JOIN\n         pg_index I ON C.oid = I.indrelid\n         LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)\n    WHERE C.relkind IN ('r', 't', 'm')\n    GROUP BY C.oid, N.nspname, C.relname;", "title": "Source projection", "paragraphs": ["This view uses SELECT * from pg_stat_xact_all_tables; the displayed expression is declared by that same-version source view."]}], "sql_type": "", "signature": "SELECT relname FROM pg_catalog.pg_stat_xact_sys_tables;", "documented": false, "description": ["Source-defined field pg_stat_xact_sys_tables.relname. The same-version manual describes this view but does not enumerate this column; the exact SQL expression is retained below."], "manual_html": "", "manual_path": "/docs/13/monitoring-stats.html", "source_only": true, "source_view": "pg_stat_xact_all_tables", "comparison_data": {"view": "pg_stat_xact_sys_tables", "field": "relname", "source_view": "pg_stat_xact_all_tables", "view_definition": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "source_expression": "C.relname"}, "comparison_hash": "fce6a68fbed37fc641c7100f0a92b5584dfd8cccba63c140b6cc72257a70df43", "units_mentioned": [], "source_expression": "C.relname"}, "14": {"view": "pg_stat_xact_sys_tables", "facts": [{"label": "View", "value": "pg_stat_xact_sys_tables"}, {"label": "Field", "value": "relname"}, {"label": "Field evidence", "value": "Source declaration; not individually enumerated by the manual"}, {"label": "Expression declared in", "value": "pg_stat_xact_all_tables"}], "field": "relname", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_xact_sys_tables/?v=14", "label": "pg_stat_xact_sys_tables columns"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "label": "14.24", "major": "14", "channel": "stable", "revision": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}, "sources": [{"url": "/docs/14/monitoring-stats.html#id-1.6.15.7.6.8.2.2.10.1.2", "path": "monitoring-stats.html", "label": "PostgreSQL 14 English manual", "sha256": "1852c6205d68e465d08dd8f75e3b6bfdd4a475ee8d79886e2dcff6bff8e2d243"}, {"url": "https://ftp.postgresql.org/pub/source/v14.24/postgresql-14.24.tar.bz2", "path": "src/backend/catalog/system_views.sql", "label": "14.24 source archive \u00b7 src/backend/catalog/system_views.sql", "sha256": "2e0e9c86966c478540d73bae289fe7d91581f48f0381ed445539e30828b7179c", "archive_sha256": "a7fa7ed3d558172355f51406097a7bd4f6b473be80f311ef7cda96bf383d8897"}], "sections": [{"title": "View semantics", "paragraphs": ["Same as pg_stat_xact_all_tables, except that only system tables are shown.", "Similar to pg_stat_all_tables, but counts actions taken so far within the current transaction (which are not yet included in pg_stat_all_tables and related views). The columns for numbers of live and dead rows and vacuum and analyze actions are not present in this view."]}, {"title": "Collection and transaction context", "paragraphs": ["A transaction can also see its own statistics (as yet untransmitted to the collector) in the views pg_stat_xact_all_tables , pg_stat_xact_sys_tables , pg_stat_xact_user_tables , and pg_stat_xact_user_functions . These numbers do not act as stated above; instead they update continuously throughout the transaction."]}, {"code": "C.relname", "title": "Exact source expression", "paragraphs": ["No per-field definition, effective SQL type, unit, or reset rule is inferred from this expression."]}, {"code": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "title": "Complete source view definition", "paragraphs": []}, {"code": "CREATE VIEW pg_stat_xact_all_tables AS\nSELECT\n            C.oid AS relid,\n            N.nspname AS schemaname,\n            C.relname AS relname,\n            pg_stat_get_xact_numscans(C.oid) AS seq_scan,\n            pg_stat_get_xact_tuples_returned(C.oid) AS seq_tup_read,\n            sum(pg_stat_get_xact_numscans(I.indexrelid))::bigint AS idx_scan,\n            sum(pg_stat_get_xact_tuples_fetched(I.indexrelid))::bigint +\n            pg_stat_get_xact_tuples_fetched(C.oid) AS idx_tup_fetch,\n            pg_stat_get_xact_tuples_inserted(C.oid) AS n_tup_ins,\n            pg_stat_get_xact_tuples_updated(C.oid) AS n_tup_upd,\n            pg_stat_get_xact_tuples_deleted(C.oid) AS n_tup_del,\n            pg_stat_get_xact_tuples_hot_updated(C.oid) AS n_tup_hot_upd\n    FROM pg_class C LEFT JOIN\n         pg_index I ON C.oid = I.indrelid\n         LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)\n    WHERE C.relkind IN ('r', 't', 'm', 'p')\n    GROUP BY C.oid, N.nspname, C.relname;", "title": "Source projection", "paragraphs": ["This view uses SELECT * from pg_stat_xact_all_tables; the displayed expression is declared by that same-version source view."]}], "sql_type": "", "signature": "SELECT relname FROM pg_catalog.pg_stat_xact_sys_tables;", "documented": false, "description": ["Source-defined field pg_stat_xact_sys_tables.relname. The same-version manual describes this view but does not enumerate this column; the exact SQL expression is retained below."], "manual_html": "", "manual_path": "/docs/14/monitoring-stats.html", "source_only": true, "source_view": "pg_stat_xact_all_tables", "comparison_data": {"view": "pg_stat_xact_sys_tables", "field": "relname", "source_view": "pg_stat_xact_all_tables", "view_definition": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "source_expression": "C.relname"}, "comparison_hash": "fce6a68fbed37fc641c7100f0a92b5584dfd8cccba63c140b6cc72257a70df43", "units_mentioned": [], "source_expression": "C.relname"}, "15": {"view": "pg_stat_xact_sys_tables", "facts": [{"label": "View", "value": "pg_stat_xact_sys_tables"}, {"label": "Field", "value": "relname"}, {"label": "Field evidence", "value": "Source declaration; not individually enumerated by the manual"}, {"label": "Expression declared in", "value": "pg_stat_xact_all_tables"}], "field": "relname", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_xact_sys_tables/?v=15", "label": "pg_stat_xact_sys_tables columns"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "label": "15.19", "major": "15", "channel": "stable", "revision": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}, "sources": [{"url": "/docs/15/monitoring-stats.html#id-1.6.15.7.6.8.2.2.10.1.2", "path": "monitoring-stats.html", "label": "PostgreSQL 15 English manual", "sha256": "034c0a2e99e6707e637bf4d6cfd819d39eddc1b4b7c1ec2a00f0b4f0fdb0a078"}, {"url": "https://ftp.postgresql.org/pub/source/v15.19/postgresql-15.19.tar.bz2", "path": "src/backend/catalog/system_views.sql", "label": "15.19 source archive \u00b7 src/backend/catalog/system_views.sql", "sha256": "5d8a691a81be4384a7cad7becfac241b5aa561df5691b3ba8c937156b936f7df", "archive_sha256": "e1a64a87a46b825b88c082e4518161a47aab53c45694964f8ba1df28f7859f89"}], "sections": [{"title": "View semantics", "paragraphs": ["Same as pg_stat_xact_all_tables, except that only system tables are shown.", "Similar to pg_stat_all_tables, but counts actions taken so far within the current transaction (which are not yet included in pg_stat_all_tables and related views). The columns for numbers of live and dead rows and vacuum and analyze actions are not present in this view."]}, {"title": "Collection and transaction context", "paragraphs": ["A transaction can also see its own statistics (not yet flushed out to the shared memory statistics) in the views pg_stat_xact_all_tables , pg_stat_xact_sys_tables , pg_stat_xact_user_tables , and pg_stat_xact_user_functions . These numbers do not act as stated above; instead they update continuously throughout the transaction."]}, {"code": "C.relname", "title": "Exact source expression", "paragraphs": ["No per-field definition, effective SQL type, unit, or reset rule is inferred from this expression."]}, {"code": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "title": "Complete source view definition", "paragraphs": []}, {"code": "CREATE VIEW pg_stat_xact_all_tables AS\nSELECT\n            C.oid AS relid,\n            N.nspname AS schemaname,\n            C.relname AS relname,\n            pg_stat_get_xact_numscans(C.oid) AS seq_scan,\n            pg_stat_get_xact_tuples_returned(C.oid) AS seq_tup_read,\n            sum(pg_stat_get_xact_numscans(I.indexrelid))::bigint AS idx_scan,\n            sum(pg_stat_get_xact_tuples_fetched(I.indexrelid))::bigint +\n            pg_stat_get_xact_tuples_fetched(C.oid) AS idx_tup_fetch,\n            pg_stat_get_xact_tuples_inserted(C.oid) AS n_tup_ins,\n            pg_stat_get_xact_tuples_updated(C.oid) AS n_tup_upd,\n            pg_stat_get_xact_tuples_deleted(C.oid) AS n_tup_del,\n            pg_stat_get_xact_tuples_hot_updated(C.oid) AS n_tup_hot_upd\n    FROM pg_class C LEFT JOIN\n         pg_index I ON C.oid = I.indrelid\n         LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)\n    WHERE C.relkind IN ('r', 't', 'm', 'p')\n    GROUP BY C.oid, N.nspname, C.relname;", "title": "Source projection", "paragraphs": ["This view uses SELECT * from pg_stat_xact_all_tables; the displayed expression is declared by that same-version source view."]}], "sql_type": "", "signature": "SELECT relname FROM pg_catalog.pg_stat_xact_sys_tables;", "documented": false, "description": ["Source-defined field pg_stat_xact_sys_tables.relname. The same-version manual describes this view but does not enumerate this column; the exact SQL expression is retained below."], "manual_html": "", "manual_path": "/docs/15/monitoring-stats.html", "source_only": true, "source_view": "pg_stat_xact_all_tables", "comparison_data": {"view": "pg_stat_xact_sys_tables", "field": "relname", "source_view": "pg_stat_xact_all_tables", "view_definition": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "source_expression": "C.relname"}, "comparison_hash": "fce6a68fbed37fc641c7100f0a92b5584dfd8cccba63c140b6cc72257a70df43", "units_mentioned": [], "source_expression": "C.relname"}, "16": {"view": "pg_stat_xact_sys_tables", "facts": [{"label": "View", "value": "pg_stat_xact_sys_tables"}, {"label": "Field", "value": "relname"}, {"label": "Field evidence", "value": "Source declaration; not individually enumerated by the manual"}, {"label": "Expression declared in", "value": "pg_stat_xact_all_tables"}], "field": "relname", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_xact_sys_tables/?v=16", "label": "pg_stat_xact_sys_tables columns"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "label": "16.15", "major": "16", "channel": "stable", "revision": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}, "sources": [{"url": "/docs/16/monitoring-stats.html#id-1.6.15.7.6.8.2.2.14.1.2", "path": "monitoring-stats.html", "label": "PostgreSQL 16 English manual", "sha256": "a4c274defe8a41ff2895040cd542b5499063b844669ff3336de1a1317c3fe086"}, {"url": "https://ftp.postgresql.org/pub/source/v16.15/postgresql-16.15.tar.bz2", "path": "src/backend/catalog/system_views.sql", "label": "16.15 source archive \u00b7 src/backend/catalog/system_views.sql", "sha256": "1c47b3f1172e7ff8a0736d6747cd4487a3e970cc8f437705b1484baf2aae29e0", "archive_sha256": "c1575341fa7bd40f5274ea465b34390f4dc64cdd0770af327005caaeb9f6b7ed"}], "sections": [{"title": "View semantics", "paragraphs": ["Same as pg_stat_xact_all_tables, except that only system tables are shown.", "Similar to pg_stat_all_tables, but counts actions taken so far within the current transaction (which are not yet included in pg_stat_all_tables and related views). The columns for numbers of live and dead rows and vacuum and analyze actions are not present in this view."]}, {"title": "Collection and transaction context", "paragraphs": ["A transaction can also see its own statistics (not yet flushed out to the shared memory statistics) in the views pg_stat_xact_all_tables , pg_stat_xact_sys_tables , pg_stat_xact_user_tables , and pg_stat_xact_user_functions . These numbers do not act as stated above; instead they update continuously throughout the transaction."]}, {"code": "C.relname", "title": "Exact source expression", "paragraphs": ["No per-field definition, effective SQL type, unit, or reset rule is inferred from this expression."]}, {"code": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "title": "Complete source view definition", "paragraphs": []}, {"code": "CREATE VIEW pg_stat_xact_all_tables AS\nSELECT\n            C.oid AS relid,\n            N.nspname AS schemaname,\n            C.relname AS relname,\n            pg_stat_get_xact_numscans(C.oid) AS seq_scan,\n            pg_stat_get_xact_tuples_returned(C.oid) AS seq_tup_read,\n            sum(pg_stat_get_xact_numscans(I.indexrelid))::bigint AS idx_scan,\n            sum(pg_stat_get_xact_tuples_fetched(I.indexrelid))::bigint +\n            pg_stat_get_xact_tuples_fetched(C.oid) AS idx_tup_fetch,\n            pg_stat_get_xact_tuples_inserted(C.oid) AS n_tup_ins,\n            pg_stat_get_xact_tuples_updated(C.oid) AS n_tup_upd,\n            pg_stat_get_xact_tuples_deleted(C.oid) AS n_tup_del,\n            pg_stat_get_xact_tuples_hot_updated(C.oid) AS n_tup_hot_upd,\n            pg_stat_get_xact_tuples_newpage_updated(C.oid) AS n_tup_newpage_upd\n    FROM pg_class C LEFT JOIN\n         pg_index I ON C.oid = I.indrelid\n         LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)\n    WHERE C.relkind IN ('r', 't', 'm', 'p')\n    GROUP BY C.oid, N.nspname, C.relname;", "title": "Source projection", "paragraphs": ["This view uses SELECT * from pg_stat_xact_all_tables; the displayed expression is declared by that same-version source view."]}], "sql_type": "", "signature": "SELECT relname FROM pg_catalog.pg_stat_xact_sys_tables;", "documented": false, "description": ["Source-defined field pg_stat_xact_sys_tables.relname. The same-version manual describes this view but does not enumerate this column; the exact SQL expression is retained below."], "manual_html": "", "manual_path": "/docs/16/monitoring-stats.html", "source_only": true, "source_view": "pg_stat_xact_all_tables", "comparison_data": {"view": "pg_stat_xact_sys_tables", "field": "relname", "source_view": "pg_stat_xact_all_tables", "view_definition": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "source_expression": "C.relname"}, "comparison_hash": "fce6a68fbed37fc641c7100f0a92b5584dfd8cccba63c140b6cc72257a70df43", "units_mentioned": [], "source_expression": "C.relname"}, "17": {"view": "pg_stat_xact_sys_tables", "facts": [{"label": "View", "value": "pg_stat_xact_sys_tables"}, {"label": "Field", "value": "relname"}, {"label": "Field evidence", "value": "Source declaration; not individually enumerated by the manual"}, {"label": "Expression declared in", "value": "pg_stat_xact_all_tables"}], "field": "relname", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_xact_sys_tables/?v=17", "label": "pg_stat_xact_sys_tables columns"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "label": "17.11", "major": "17", "channel": "stable", "revision": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}, "sources": [{"url": "/docs/17/monitoring-stats.html#id-1.6.14.7.6.8.2.2.15.1.2", "path": "monitoring-stats.html", "label": "PostgreSQL 17 English manual", "sha256": "007af6e8ab39b925963273ec3ba7f06f8ee6fbfaad821f07a1dc78383dbb9b99"}, {"url": "https://ftp.postgresql.org/pub/source/v17.11/postgresql-17.11.tar.bz2", "path": "src/backend/catalog/system_views.sql", "label": "17.11 source archive \u00b7 src/backend/catalog/system_views.sql", "sha256": "40844d5c419bbf6ccaaeafbe650b1cbd717bdb71ed19805fdaab99b68a8cc098", "archive_sha256": "dd27f2b3c59e73ed14aa3324901242bf69a032a6347805f274e6260322d42979"}], "sections": [{"title": "View semantics", "paragraphs": ["Same as pg_stat_xact_all_tables, except that only system tables are shown.", "Similar to pg_stat_all_tables, but counts actions taken so far within the current transaction (which are not yet included in pg_stat_all_tables and related views). The columns for numbers of live and dead rows and vacuum and analyze actions are not present in this view."]}, {"title": "Collection and transaction context", "paragraphs": ["A transaction can also see its own statistics (not yet flushed out to the shared memory statistics) in the views pg_stat_xact_all_tables , pg_stat_xact_sys_tables , pg_stat_xact_user_tables , and pg_stat_xact_user_functions . These numbers do not act as stated above; instead they update continuously throughout the transaction."]}, {"code": "C.relname", "title": "Exact source expression", "paragraphs": ["No per-field definition, effective SQL type, unit, or reset rule is inferred from this expression."]}, {"code": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "title": "Complete source view definition", "paragraphs": []}, {"code": "CREATE VIEW pg_stat_xact_all_tables AS\nSELECT\n            C.oid AS relid,\n            N.nspname AS schemaname,\n            C.relname AS relname,\n            pg_stat_get_xact_numscans(C.oid) AS seq_scan,\n            pg_stat_get_xact_tuples_returned(C.oid) AS seq_tup_read,\n            sum(pg_stat_get_xact_numscans(I.indexrelid))::bigint AS idx_scan,\n            sum(pg_stat_get_xact_tuples_fetched(I.indexrelid))::bigint +\n            pg_stat_get_xact_tuples_fetched(C.oid) AS idx_tup_fetch,\n            pg_stat_get_xact_tuples_inserted(C.oid) AS n_tup_ins,\n            pg_stat_get_xact_tuples_updated(C.oid) AS n_tup_upd,\n            pg_stat_get_xact_tuples_deleted(C.oid) AS n_tup_del,\n            pg_stat_get_xact_tuples_hot_updated(C.oid) AS n_tup_hot_upd,\n            pg_stat_get_xact_tuples_newpage_updated(C.oid) AS n_tup_newpage_upd\n    FROM pg_class C LEFT JOIN\n         pg_index I ON C.oid = I.indrelid\n         LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)\n    WHERE C.relkind IN ('r', 't', 'm', 'p')\n    GROUP BY C.oid, N.nspname, C.relname;", "title": "Source projection", "paragraphs": ["This view uses SELECT * from pg_stat_xact_all_tables; the displayed expression is declared by that same-version source view."]}], "sql_type": "", "signature": "SELECT relname FROM pg_catalog.pg_stat_xact_sys_tables;", "documented": false, "description": ["Source-defined field pg_stat_xact_sys_tables.relname. The same-version manual describes this view but does not enumerate this column; the exact SQL expression is retained below."], "manual_html": "", "manual_path": "/docs/17/monitoring-stats.html", "source_only": true, "source_view": "pg_stat_xact_all_tables", "comparison_data": {"view": "pg_stat_xact_sys_tables", "field": "relname", "source_view": "pg_stat_xact_all_tables", "view_definition": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "source_expression": "C.relname"}, "comparison_hash": "fce6a68fbed37fc641c7100f0a92b5584dfd8cccba63c140b6cc72257a70df43", "units_mentioned": [], "source_expression": "C.relname"}, "18": {"view": "pg_stat_xact_sys_tables", "facts": [{"label": "View", "value": "pg_stat_xact_sys_tables"}, {"label": "Field", "value": "relname"}, {"label": "Field evidence", "value": "Source declaration; not individually enumerated by the manual"}, {"label": "Expression declared in", "value": "pg_stat_xact_all_tables"}], "field": "relname", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_xact_sys_tables/?v=18", "label": "pg_stat_xact_sys_tables columns"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sources": [{"url": "/docs/18/monitoring-stats.html#id-1.6.14.7.6.8.2.2.15.1.2", "path": "monitoring-stats.html", "label": "PostgreSQL 18 English manual", "sha256": "aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722"}, {"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "path": "src/backend/catalog/system_views.sql", "label": "18.6 source archive \u00b7 src/backend/catalog/system_views.sql", "sha256": "418f4ae7472fe0742e6fbdc7a055581602c5131e082aa6f17e2c7269bf711972", "archive_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}], "sections": [{"title": "View semantics", "paragraphs": ["Same as pg_stat_xact_all_tables, except that only system tables are shown.", "Similar to pg_stat_all_tables, but counts actions taken so far within the current transaction (which are not yet included in pg_stat_all_tables and related views). The columns for numbers of live and dead rows and vacuum and analyze actions are not present in this view."]}, {"title": "Collection and transaction context", "paragraphs": ["A transaction can also see its own statistics (not yet flushed out to the shared memory statistics) in the views pg_stat_xact_all_tables , pg_stat_xact_sys_tables , pg_stat_xact_user_tables , and pg_stat_xact_user_functions . These numbers do not act as stated above; instead they update continuously throughout the transaction."]}, {"code": "C.relname", "title": "Exact source expression", "paragraphs": ["No per-field definition, effective SQL type, unit, or reset rule is inferred from this expression."]}, {"code": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "title": "Complete source view definition", "paragraphs": []}, {"code": "CREATE VIEW pg_stat_xact_all_tables AS\nSELECT\n            C.oid AS relid,\n            N.nspname AS schemaname,\n            C.relname AS relname,\n            pg_stat_get_xact_numscans(C.oid) AS seq_scan,\n            pg_stat_get_xact_tuples_returned(C.oid) AS seq_tup_read,\n            sum(pg_stat_get_xact_numscans(I.indexrelid))::bigint AS idx_scan,\n            sum(pg_stat_get_xact_tuples_fetched(I.indexrelid))::bigint +\n            pg_stat_get_xact_tuples_fetched(C.oid) AS idx_tup_fetch,\n            pg_stat_get_xact_tuples_inserted(C.oid) AS n_tup_ins,\n            pg_stat_get_xact_tuples_updated(C.oid) AS n_tup_upd,\n            pg_stat_get_xact_tuples_deleted(C.oid) AS n_tup_del,\n            pg_stat_get_xact_tuples_hot_updated(C.oid) AS n_tup_hot_upd,\n            pg_stat_get_xact_tuples_newpage_updated(C.oid) AS n_tup_newpage_upd\n    FROM pg_class C LEFT JOIN\n         pg_index I ON C.oid = I.indrelid\n         LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)\n    WHERE C.relkind IN ('r', 't', 'm', 'p')\n    GROUP BY C.oid, N.nspname, C.relname;", "title": "Source projection", "paragraphs": ["This view uses SELECT * from pg_stat_xact_all_tables; the displayed expression is declared by that same-version source view."]}], "sql_type": "", "signature": "SELECT relname FROM pg_catalog.pg_stat_xact_sys_tables;", "documented": false, "description": ["Source-defined field pg_stat_xact_sys_tables.relname. The same-version manual describes this view but does not enumerate this column; the exact SQL expression is retained below."], "manual_html": "", "manual_path": "/docs/18/monitoring-stats.html", "source_only": true, "source_view": "pg_stat_xact_all_tables", "comparison_data": {"view": "pg_stat_xact_sys_tables", "field": "relname", "source_view": "pg_stat_xact_all_tables", "view_definition": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "source_expression": "C.relname"}, "comparison_hash": "fce6a68fbed37fc641c7100f0a92b5584dfd8cccba63c140b6cc72257a70df43", "units_mentioned": [], "source_expression": "C.relname"}, "19": {"view": "pg_stat_xact_sys_tables", "facts": [{"label": "View", "value": "pg_stat_xact_sys_tables"}, {"label": "Field", "value": "relname"}, {"label": "Field evidence", "value": "Source declaration; not individually enumerated by the manual"}, {"label": "Expression declared in", "value": "pg_stat_xact_all_tables"}], "field": "relname", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_xact_sys_tables/?v=19", "label": "pg_stat_xact_sys_tables columns"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "label": "19beta4", "major": "19", "channel": "preview", "revision": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}, "sources": [{"url": "/docs/19/monitoring-stats.html#id-1.6.14.7.6.8.2.2.16.1.2", "path": "monitoring-stats.html", "label": "PostgreSQL 19 English manual", "sha256": "26e1b6632bdf05ebe081987cb60ab4ded526eec7db73e41316fbd69466c494fe"}, {"url": "https://ftp.postgresql.org/pub/source/v19beta4/postgresql-19beta4.tar.bz2", "path": "src/backend/catalog/system_views.sql", "label": "19beta4 source archive \u00b7 src/backend/catalog/system_views.sql", "sha256": "6c3cff3ab39ac39070330c005a73d81f5c55d528f5d42905ad7e4a4a66da4bcf", "archive_sha256": "83157ee9c599d03b2f7a3d73ef3a56ec24e0e79cc2b3501a64d1364f56398c86"}], "sections": [{"title": "View semantics", "paragraphs": ["Same as pg_stat_xact_all_tables, except that only system tables are shown.", "Similar to pg_stat_all_tables, but counts actions taken so far within the current transaction (which are not yet included in pg_stat_all_tables and related views). The columns for numbers of live and dead rows and vacuum and analyze actions are not present in this view."]}, {"title": "Collection and transaction context", "paragraphs": ["A transaction can also see its own statistics (not yet flushed out to the shared memory statistics) in the views pg_stat_xact_all_tables , pg_stat_xact_sys_tables , pg_stat_xact_user_tables , and pg_stat_xact_user_functions . These numbers do not act as stated above; instead they update continuously throughout the transaction."]}, {"code": "C.relname", "title": "Exact source expression", "paragraphs": ["No per-field definition, effective SQL type, unit, or reset rule is inferred from this expression."]}, {"code": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "title": "Complete source view definition", "paragraphs": []}, {"code": "CREATE VIEW pg_stat_xact_all_tables AS\nSELECT\n            C.oid AS relid,\n            N.nspname AS schemaname,\n            C.relname AS relname,\n            pg_stat_get_xact_numscans(C.oid) AS seq_scan,\n            pg_stat_get_xact_tuples_returned(C.oid) AS seq_tup_read,\n            sum(pg_stat_get_xact_numscans(I.indexrelid))::bigint AS idx_scan,\n            sum(pg_stat_get_xact_tuples_fetched(I.indexrelid))::bigint +\n            pg_stat_get_xact_tuples_fetched(C.oid) AS idx_tup_fetch,\n            pg_stat_get_xact_tuples_inserted(C.oid) AS n_tup_ins,\n            pg_stat_get_xact_tuples_updated(C.oid) AS n_tup_upd,\n            pg_stat_get_xact_tuples_deleted(C.oid) AS n_tup_del,\n            pg_stat_get_xact_tuples_hot_updated(C.oid) AS n_tup_hot_upd,\n            pg_stat_get_xact_tuples_newpage_updated(C.oid) AS n_tup_newpage_upd\n    FROM pg_class C LEFT JOIN\n         pg_index I ON C.oid = I.indrelid\n         LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)\n    WHERE C.relkind IN ('r', 't', 'm', 'p')\n    GROUP BY C.oid, N.nspname, C.relname;", "title": "Source projection", "paragraphs": ["This view uses SELECT * from pg_stat_xact_all_tables; the displayed expression is declared by that same-version source view."]}], "sql_type": "", "signature": "SELECT relname FROM pg_catalog.pg_stat_xact_sys_tables;", "documented": false, "description": ["Source-defined field pg_stat_xact_sys_tables.relname. The same-version manual describes this view but does not enumerate this column; the exact SQL expression is retained below."], "manual_html": "", "manual_path": "/docs/19/monitoring-stats.html", "source_only": true, "source_view": "pg_stat_xact_all_tables", "comparison_data": {"view": "pg_stat_xact_sys_tables", "field": "relname", "source_view": "pg_stat_xact_all_tables", "view_definition": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "source_expression": "C.relname"}, "comparison_hash": "fce6a68fbed37fc641c7100f0a92b5584dfd8cccba63c140b6cc72257a70df43", "units_mentioned": [], "source_expression": "C.relname"}, "20": {"view": "pg_stat_xact_sys_tables", "facts": [{"label": "View", "value": "pg_stat_xact_sys_tables"}, {"label": "Field", "value": "relname"}, {"label": "Field evidence", "value": "Source declaration; not individually enumerated by the manual"}, {"label": "Expression declared in", "value": "pg_stat_xact_all_tables"}], "field": "relname", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_xact_sys_tables/?v=20", "label": "pg_stat_xact_sys_tables columns"}], "release": {"ref": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "label": "20devel", "major": "20", "channel": "devel", "revision": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}, "sources": [{"url": "/docs/devel/monitoring-stats.html#id-1.6.14.7.6.8.2.2.17.1.2", "path": "monitoring-stats.html", "label": "PostgreSQL 20 English manual", "sha256": "dfc27a108b70bdf88f310801ae3db011a8f608befd927722e5f3e9bdcc070251"}, {"url": "https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2", "path": "src/backend/catalog/system_views.sql", "label": "20devel source archive \u00b7 src/backend/catalog/system_views.sql", "sha256": "c6d536b117720cb0e9bfc5f1e496f6e2031713e2065f8e978af78231befa5ec5", "archive_sha256": "4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"}], "sections": [{"title": "View semantics", "paragraphs": ["Same as pg_stat_xact_all_tables, except that only system tables are shown.", "Similar to pg_stat_all_tables, but counts actions taken so far within the current transaction (which are not yet included in pg_stat_all_tables and related views). The columns for numbers of live and dead rows and vacuum and analyze actions are not present in this view."]}, {"title": "Collection and transaction context", "paragraphs": ["A transaction can also see its own statistics (not yet flushed out to the shared memory statistics) in the views pg_stat_xact_all_tables , pg_stat_xact_sys_tables , pg_stat_xact_user_tables , and pg_stat_xact_user_functions . These numbers do not act as stated above; instead they update continuously throughout the transaction."]}, {"code": "C.relname", "title": "Exact source expression", "paragraphs": ["No per-field definition, effective SQL type, unit, or reset rule is inferred from this expression."]}, {"code": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "title": "Complete source view definition", "paragraphs": []}, {"code": "CREATE VIEW pg_stat_xact_all_tables AS\nSELECT\n            C.oid AS relid,\n            N.nspname AS schemaname,\n            C.relname AS relname,\n            pg_stat_get_xact_numscans(C.oid) AS seq_scan,\n            pg_stat_get_xact_tuples_returned(C.oid) AS seq_tup_read,\n            sum(pg_stat_get_xact_idx_numscans(I.indexrelid))::bigint AS idx_scan,\n            sum(pg_stat_get_xact_idx_tuples_fetched(I.indexrelid))::bigint +\n            pg_stat_get_xact_tuples_fetched(C.oid) AS idx_tup_fetch,\n            pg_stat_get_xact_tuples_inserted(C.oid) AS n_tup_ins,\n            pg_stat_get_xact_tuples_updated(C.oid) AS n_tup_upd,\n            pg_stat_get_xact_tuples_deleted(C.oid) AS n_tup_del,\n            pg_stat_get_xact_tuples_hot_updated(C.oid) AS n_tup_hot_upd,\n            pg_stat_get_xact_tuples_newpage_updated(C.oid) AS n_tup_newpage_upd\n    FROM pg_class C LEFT JOIN\n         pg_index I ON C.oid = I.indrelid\n         LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)\n    WHERE C.relkind IN ('r', 't', 'm', 'p')\n    GROUP BY C.oid, N.nspname, C.relname;", "title": "Source projection", "paragraphs": ["This view uses SELECT * from pg_stat_xact_all_tables; the displayed expression is declared by that same-version source view."]}], "sql_type": "", "signature": "SELECT relname FROM pg_catalog.pg_stat_xact_sys_tables;", "documented": false, "description": ["Source-defined field pg_stat_xact_sys_tables.relname. The same-version manual describes this view but does not enumerate this column; the exact SQL expression is retained below."], "manual_html": "", "manual_path": "/docs/devel/monitoring-stats.html", "source_only": true, "source_view": "pg_stat_xact_all_tables", "comparison_data": {"view": "pg_stat_xact_sys_tables", "field": "relname", "source_view": "pg_stat_xact_all_tables", "view_definition": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "source_expression": "C.relname"}, "comparison_hash": "fce6a68fbed37fc641c7100f0a92b5584dfd8cccba63c140b6cc72257a70df43", "units_mentioned": [], "source_expression": "C.relname"}}}, "snapshot": {"view": "pg_stat_xact_sys_tables", "facts": [{"label": "View", "value": "pg_stat_xact_sys_tables"}, {"label": "Field", "value": "relname"}, {"label": "Field evidence", "value": "Source declaration; not individually enumerated by the manual"}, {"label": "Expression declared in", "value": "pg_stat_xact_all_tables"}], "field": "relname", "tables": [], "related": [{"url": "/wiki/catalog/pg_stat_xact_sys_tables/?v=18", "label": "pg_stat_xact_sys_tables columns"}], "release": {"ref": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "label": "18.6", "major": "18", "channel": "stable", "revision": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}, "sources": [{"url": "/docs/18/monitoring-stats.html#id-1.6.14.7.6.8.2.2.15.1.2", "path": "monitoring-stats.html", "label": "PostgreSQL 18 English manual", "sha256": "aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722"}, {"url": "https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2", "path": "src/backend/catalog/system_views.sql", "label": "18.6 source archive \u00b7 src/backend/catalog/system_views.sql", "sha256": "418f4ae7472fe0742e6fbdc7a055581602c5131e082aa6f17e2c7269bf711972", "archive_sha256": "555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"}], "sections": [{"title": "View semantics", "paragraphs": ["Same as pg_stat_xact_all_tables, except that only system tables are shown.", "Similar to pg_stat_all_tables, but counts actions taken so far within the current transaction (which are not yet included in pg_stat_all_tables and related views). The columns for numbers of live and dead rows and vacuum and analyze actions are not present in this view."]}, {"title": "Collection and transaction context", "paragraphs": ["A transaction can also see its own statistics (not yet flushed out to the shared memory statistics) in the views pg_stat_xact_all_tables , pg_stat_xact_sys_tables , pg_stat_xact_user_tables , and pg_stat_xact_user_functions . These numbers do not act as stated above; instead they update continuously throughout the transaction."]}, {"code": "C.relname", "title": "Exact source expression", "paragraphs": ["No per-field definition, effective SQL type, unit, or reset rule is inferred from this expression."]}, {"code": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "title": "Complete source view definition", "paragraphs": []}, {"code": "CREATE VIEW pg_stat_xact_all_tables AS\nSELECT\n            C.oid AS relid,\n            N.nspname AS schemaname,\n            C.relname AS relname,\n            pg_stat_get_xact_numscans(C.oid) AS seq_scan,\n            pg_stat_get_xact_tuples_returned(C.oid) AS seq_tup_read,\n            sum(pg_stat_get_xact_numscans(I.indexrelid))::bigint AS idx_scan,\n            sum(pg_stat_get_xact_tuples_fetched(I.indexrelid))::bigint +\n            pg_stat_get_xact_tuples_fetched(C.oid) AS idx_tup_fetch,\n            pg_stat_get_xact_tuples_inserted(C.oid) AS n_tup_ins,\n            pg_stat_get_xact_tuples_updated(C.oid) AS n_tup_upd,\n            pg_stat_get_xact_tuples_deleted(C.oid) AS n_tup_del,\n            pg_stat_get_xact_tuples_hot_updated(C.oid) AS n_tup_hot_upd,\n            pg_stat_get_xact_tuples_newpage_updated(C.oid) AS n_tup_newpage_upd\n    FROM pg_class C LEFT JOIN\n         pg_index I ON C.oid = I.indrelid\n         LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)\n    WHERE C.relkind IN ('r', 't', 'm', 'p')\n    GROUP BY C.oid, N.nspname, C.relname;", "title": "Source projection", "paragraphs": ["This view uses SELECT * from pg_stat_xact_all_tables; the displayed expression is declared by that same-version source view."]}], "sql_type": "", "signature": "SELECT relname FROM pg_catalog.pg_stat_xact_sys_tables;", "documented": false, "description": ["Source-defined field pg_stat_xact_sys_tables.relname. The same-version manual describes this view but does not enumerate this column; the exact SQL expression is retained below."], "manual_html": "", "manual_path": "/docs/18/monitoring-stats.html", "source_only": true, "source_view": "pg_stat_xact_all_tables", "comparison_data": {"view": "pg_stat_xact_sys_tables", "field": "relname", "source_view": "pg_stat_xact_all_tables", "view_definition": "CREATE VIEW pg_stat_xact_sys_tables AS\nSELECT * FROM pg_stat_xact_all_tables\n    WHERE schemaname IN ('pg_catalog', 'information_schema') OR\n          schemaname ~ '^pg_toast';", "source_expression": "C.relname"}, "comparison_hash": "fce6a68fbed37fc641c7100f0a92b5584dfd8cccba63c140b6cc72257a70df43", "units_mentioned": [], "source_expression": "C.relname"}, "comparison": {"left": "17", "right": "18", "status": "unchanged", "diff": ""}}