PostgreSQL 19 ← 18
STATISTICS VIEW · Statistics view
pg_stat_wal_receiver
The pg_stat_wal_receiver view will contain only one row, showing statistics about the WAL receiver from that receiver's connected server.
Checked column by column against a PostgreSQL 18.6 instance · Raw measurement record ↗
Columns PostgreSQL 18
pg_stat_wal_receiver| COLUMN | TYPE | DESCRIPTION |
|---|---|---|
pid |
integer |
Process ID of the WAL receiver process |
status |
text |
Activity status of the WAL receiver process |
receive_start_lsn |
pg_lsn |
First write-ahead log location used when WAL receiver is started |
receive_start_tli |
integer |
First timeline number used when WAL receiver is started |
written_lsn |
pg_lsn |
Last write-ahead log location already received and written to disk, but not flushed. This should not be used for data integrity checks. |
flushed_lsn |
pg_lsn |
Last write-ahead log location already received and flushed to disk, the initial value of this field being the first log location used when WAL receiver is started |
received_tli |
integer |
Timeline number of last write-ahead log location received and flushed to disk, the initial value of this field being the timeline number of the first log location used when WAL receiver is started |
last_msg_send_time |
timestamp with time zone |
Send time of last message received from origin WAL sender |
last_msg_receipt_time |
timestamp with time zone |
Receipt time of last message received from origin WAL sender |
latest_end_lsn |
pg_lsn |
Last write-ahead log location reported to origin WAL sender |
latest_end_time |
timestamp with time zone |
Time of last write-ahead log location reported to origin WAL sender |
slot_name |
text |
Replication slot name used by this WAL receiver |
sender_host |
text |
Host of the PostgreSQL instance this WAL receiver is connected to. This can be a host name, an IP address, or a directory path if the connection is via Unix socket. (The path case can be distinguished because it will always be an absolute path, beginning with /.) |
sender_port |
integer |
Port number of the PostgreSQL instance this WAL receiver is connected to. |
conninfo |
text |
Connection string used by this WAL receiver, with security-sensitive fields obfuscated. |
Columns marked "implicit" are not included in SELECT *; some early statistics views are completed from same-version source, and the extra provenance is shown in the column description.
Common system columns 0
System attributes PostgreSQL provides, normally not expanded by SELECT *. Kept separately so they are not mixed in with ordinary columns.
| Columns | Type | attnum |
|---|
Column evolution matrix
Hover a cell for the column type9.0 is the coverage baseline; a column already present in the baseline is not marked as added. The matrix aligns columns by name, so a rename appears as the old column removed and a new column added.
Evolution timeline
Changes between adjacent majorsPostgreSQL 13 ← 12
PostgreSQL 12 ← 11
PostgreSQL 11 ← 10
PostgreSQL 10 ← 9.6
PostgreSQL 9.6 ← 9.5Catalog added
Compare any two versions
Pick two versions to see added, removed, and retyped columns. The interactive comparison needs JavaScript; the evolution timeline reads fine without it.