{"Entry":{"collection":"metric","key":"pg_stat_wal_receiver-written_lsn","name":"pg_stat_wal_receiver.written_lsn","aliases":["written_lsn","pg_stat_wal_receiver"],"metadata":{"aliases":["written_lsn","pg_stat_wal_receiver"],"category":"pg_stat_wal_receiver","content_hash":"f032ffbcaa5dcd7640c03130f56605969310ee2d764150a5d2c7c253ae0efb75","imported_at":"2026-09-30T00:40:46.545304+08:00","name":"pg_stat_wal_receiver.written_lsn","name_zh":"","slug":"pg_stat_wal_receiver-written_lsn","summary":"Last write-ahead log location already received and written to disk, but not flushed. This should not be used for data integrity checks."}},"Definition":{"Collection":"metric","Key":"pg_stat_wal_receiver-written_lsn","SourceDatabase":"center","Version":"18","SourceTable":"statistics_metric","SourceKey":"pg_stat_wal_receiver-written_lsn","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","Facts":{"comparison_data":{"field":"written_lsn","sql_type":"pg_lsn","units_mentioned":[],"view":"pg_stat_wal_receiver"},"comparison_hash":"d330fb0ada0ec509f51a3083d7ee275a727cfdddd0a41144c6f1d37f3ef4d4f6","description":["Last write-ahead log location already received and written to disk, but not flushed. This should not be used for data integrity checks."],"documented":true,"facts":[{"label":"View","value":"pg_stat_wal_receiver"},{"label":"Field","value":"written_lsn"},{"label":"SQL type","value":"pg_lsn"},{"label":"Units named in the field definition","value":"Not specified"},{"label":"Reset observation","value":"No stats_reset field is documented for this view"}],"field":"written_lsn","manual_html":"","manual_path":"/docs/18/monitoring-stats.html","related":[{"label":"pg_stat_wal_receiver columns","url":"/wiki/catalog/pg_stat_wal_receiver/?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":["The pg_stat_wal_receiver view will contain only one row, showing statistics about the WAL receiver from that receiver's connected server."],"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 written_lsn FROM pg_catalog.pg_stat_wal_receiver;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"signature":"SELECT written_lsn FROM pg_catalog.pg_stat_wal_receiver;","source_only":false,"sources":[{"label":"PostgreSQL 18 English manual","path":"monitoring-stats.html","sha256":"aa979eed08627fbf715a9d792094a162a73671db5af810f3ab2aad3e073d5722","url":"/docs/18/monitoring-stats.html#PG-STAT-WAL-RECEIVER-VIEW"}],"sql_type":"pg_lsn","tables":[],"units_mentioned":[],"view":"pg_stat_wal_receiver"},"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-WAL-RECEIVER-VIEW"}]},"MeasuredEvidence":{}},"Text":{"Collection":"metric","Key":"pg_stat_wal_receiver-written_lsn","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_stat_wal_receiver.written_lsn","Summary":"Last write-ahead log location already received and written to disk, but not flushed. This should not be used for data integrity checks.","BodyHTML":"\u003cp\u003eLast write-ahead log location already received and written to disk, but not flushed. This should not be used for data integrity checks.\u003c/p\u003e","SourceRevision":"555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f","ContentHash":"fcf7eba3e5db57cef0b1e13895e2490587bfadeebe2cc447cd9834bdd5da5e41","Payload":{"description":["Last write-ahead log location already received and written to disk, but not flushed. This should not be used for data integrity checks."],"manual_html":"","related":[{"label":"pg_stat_wal_receiver columns","url":"/wiki/catalog/pg_stat_wal_receiver/?v=18"},{"label":"Statistics collection and reset functions","url":"/docs/18/monitoring-stats.html"}],"sections":[{"paragraphs":["The pg_stat_wal_receiver view will contain only one row, showing statistics about the WAL receiver from that receiver's connected server."],"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 written_lsn FROM pg_catalog.pg_stat_wal_receiver;","paragraphs":["Example query; no execution result or measured value is asserted."],"title":"Inspect this field"}],"tables":[]}},"RequestedLocale":"zh-Hans","Fallback":true,"Versions":["13","14","15","16","17","18","19","20"],"Locales":["en"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
