{"Entry":{"collection":"metric","key":"pg_stat_subscription-leader_pid","name":"pg_stat_subscription.leader_pid","aliases":["leader_pid","pg_stat_subscription"],"metadata":{"aliases":["leader_pid","pg_stat_subscription"],"category":"pg_stat_subscription","content_hash":"7881b219ab45208c220fdc69c40633a94f6bc77e4f8beef6ca6bfebda58257e0","imported_at":"2026-09-30T00:40:46.196613+08:00","name":"pg_stat_subscription.leader_pid","name_zh":"","slug":"pg_stat_subscription-leader_pid","summary":"Process ID of the leader apply worker if this process is a parallel apply worker; NULL if this process is a leader apply worker, a table synchronization worker or a sequence synchronization worker"}},"Definition":{"Collection":"metric","Key":"pg_stat_subscription-leader_pid","SourceDatabase":"center","Version":"18","SourceTable":"statistics_metric","SourceKey":"pg_stat_subscription-leader_pid","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"comparison_data":{"field":"leader_pid","sql_type":"integer","units_mentioned":[],"view":"pg_stat_subscription"},"comparison_hash":"b52d57b19f7d816b12064e0cab0a9cfcf6ced7a13d1804ae646e51b567c91e07","description":["Process ID of the leader apply worker if this process is a parallel apply worker; NULL if this process is a leader apply worker or a table synchronization worker"],"documented":true,"facts":[{"label":"View","value":"pg_stat_subscription"},{"label":"Field","value":"leader_pid"},{"label":"SQL type","value":"integer"},{"label":"Units named in the field definition","value":"Not specified"},{"label":"Reset observation","value":"No stats_reset field is documented for this view"}],"field":"leader_pid","manual_html":"","manual_path":"/docs/18/monitoring-stats.html","related":[{"label":"pg_stat_subscription columns","url":"/wiki/catalog/pg_stat_subscription/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/monitoring-stats.html"}],"release":{"channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sections":[{"paragraphs":["At least one row per subscription, showing information about the subscription workers. See pg_stat_subscription for details."],"title":"View semantics"},{"paragraphs":["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."],"title":"Collection and reset context"},{"code":"SELECT leader_pid FROM pg_catalog.pg_stat_subscription;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT leader_pid FROM pg_catalog.pg_stat_subscription;","source_only":false,"sources":[{"label":"PostgreSQL 18 English manual","path":"monitoring-stats.html","sha256":"aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722","url":"/docs/18/monitoring-stats.html#PG-STAT-SUBSCRIPTION"}],"sql_type":"integer","tables":[],"units_mentioned":[],"view":"pg_stat_subscription"},"ManualEvidence":{"manual_path":"/docs/18/monitoring-stats.html","release":{"channel":"stable","label":"18.6","major":"18","ref":"https://ftp.postgresql.org/pub/source/v18.6/postgresql-18.6.tar.bz2","revision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f"},"sources":[{"label":"PostgreSQL 18 English manual","path":"monitoring-stats.html","sha256":"aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722","url":"/docs/18/monitoring-stats.html#PG-STAT-SUBSCRIPTION"}]},"MeasuredEvidence":{}},"Text":{"Collection":"metric","Key":"pg_stat_subscription-leader_pid","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_stat_subscription.leader_pid","Summary":"Process ID of the leader apply worker if this process is a parallel apply worker; NULL if this process is a leader apply worker or a table synchronization worker","BodyHTML":"\u003cp\u003eProcess ID of the leader apply worker if this process is a parallel apply worker; NULL if this process is a leader apply worker or a table synchronization worker\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"96c49d20b87c1079275bc4d9cf3c5762009a12e1d7ddb96a406a8d3853dc2c28","Payload":{"description":["Process ID of the leader apply worker if this process is a parallel apply worker; NULL if this process is a leader apply worker or a table synchronization worker"],"manual_html":"","related":[{"label":"pg_stat_subscription columns","url":"/wiki/catalog/pg_stat_subscription/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/monitoring-stats.html"}],"sections":[{"paragraphs":["At least one row per subscription, showing information about the subscription workers. See pg_stat_subscription for details."],"title":"View semantics"},{"paragraphs":["Read the same-version statistics collection and view documentation below for reset scope and visibility. No per-field reset rule is inferred from the field name."],"title":"Collection and reset context"},{"code":"SELECT leader_pid FROM pg_catalog.pg_stat_subscription;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["16","17","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
