{"Entry":{"collection":"metric","key":"pg_stat_lock-locktype","name":"pg_stat_lock.locktype","aliases":["locktype","pg_stat_lock"],"metadata":{"aliases":["locktype","pg_stat_lock"],"category":"pg_stat_lock","content_hash":"34f394c46c0b2563d88c1c28ecf9d5c768689564a734fa519255618fdcfeb5ec","imported_at":"2026-09-30T00:40:45.744278+08:00","name":"pg_stat_lock.locktype","name_zh":"","slug":"pg_stat_lock-locktype","summary":"Type of the lockable object. See pg_locks for details."}},"Definition":{"Collection":"metric","Key":"pg_stat_lock-locktype","SourceDatabase":"center","Version":"20","SourceTable":"statistics_metric","SourceKey":"pg_stat_lock-locktype","SourceRevision":"4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41","Facts":{"comparison_data":{"field":"locktype","sql_type":"text","units_mentioned":[],"view":"pg_stat_lock"},"comparison_hash":"2f959f290449188542c302cb2df531e31e7304296a98dfb2ec5aa9300efa35de","description":["Type of the lockable object. See pg_locks for details."],"documented":true,"facts":[{"label":"View","value":"pg_stat_lock"},{"label":"Field","value":"locktype"},{"label":"SQL type","value":"text"},{"label":"Units named in the field definition","value":"Not specified"},{"label":"Reset observation","value":"Time at which these statistics were last reset."}],"field":"locktype","manual_html":"","manual_path":"/docs/devel/monitoring-stats.html","related":[{"label":"pg_stat_lock columns","url":"/wiki/catalog/pg_stat_lock/?v=20"},{"label":"Statistics collection and reset functions","url":"/docs/devel/monitoring-stats.html"}],"release":{"channel":"devel","label":"20devel","major":"20","ref":"https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2","revision":"4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"},"sections":[{"paragraphs":["The pg_stat_lock view will contain one row for each lock type, showing cluster-wide locks statistics."],"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 locktype FROM pg_catalog.pg_stat_lock;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT locktype FROM pg_catalog.pg_stat_lock;","source_only":false,"sources":[{"label":"PostgreSQL 20 English manual","path":"monitoring-stats.html","sha256":"dfc27a108b70bdf88f310801ae3db011a8f608befd927722e5f3e9bdcc070251","url":"/docs/devel/monitoring-stats.html#PG-STAT-LOCK-VIEW"}],"sql_type":"text","tables":[],"units_mentioned":[],"view":"pg_stat_lock"},"ManualEvidence":{"manual_path":"/docs/devel/monitoring-stats.html","release":{"channel":"devel","label":"20devel","major":"20","ref":"https://ftp.postgresql.org/pub/snapshot/dev/postgresql-snapshot.tar.bz2","revision":"4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41"},"sources":[{"label":"PostgreSQL 20 English manual","path":"monitoring-stats.html","sha256":"dfc27a108b70bdf88f310801ae3db011a8f608befd927722e5f3e9bdcc070251","url":"/docs/devel/monitoring-stats.html#PG-STAT-LOCK-VIEW"}]},"MeasuredEvidence":{}},"Text":{"Collection":"metric","Key":"pg_stat_lock-locktype","SourceDatabase":"center","Version":"20","Locale":"en","Title":"pg_stat_lock.locktype","Summary":"Type of the lockable object. See pg_locks for details.","BodyHTML":"\u003cp\u003eType of the lockable object. See pg_locks for details.\u003c/p\u003e","SourceRevision":"4d3346909b201ac1648232cf290462a7070c119326f56196f1f0253ed80fae41","ContentHash":"c479219cbf7a9fc0240634274e73e4d47c47c7fcb09de2d7180c1faa97600555","Payload":{"description":["Type of the lockable object. See pg_locks for details."],"manual_html":"","related":[{"label":"pg_stat_lock columns","url":"/wiki/catalog/pg_stat_lock/?v=20"},{"label":"Statistics collection and reset functions","url":"/docs/devel/monitoring-stats.html"}],"sections":[{"paragraphs":["The pg_stat_lock view will contain one row for each lock type, showing cluster-wide locks statistics."],"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 locktype FROM pg_catalog.pg_stat_lock;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
