49.5. System Catalogs Related to Logical Decoding

|49.5. System Catalogs Related to Logical Decoding|                          |                            |                  |                                           |
|:-----------------------------------------------:|--------------------------|----------------------------|------------------|-------------------------------------------|
|        [Prev](logicaldecoding-sql.html)         |[Up](logicaldecoding.html)|Chapter 49. Logical Decoding|[Home](index.html)| [Next](logicaldecoding-output-plugin.html)|

---

## 49.5. System Catalogs Related to Logical Decoding

 The [`pg_replication_slots`](view-pg-replication-slots.html) view and the [`pg_stat_replication`](monitoring-stats.html#MONITORING-PG-STAT-REPLICATION-VIEW) view provide information about the current state of replication slots and streaming replication connections respectively. These views apply to both physical and logical replication. The [`pg_stat_replication_slots`](monitoring-stats.html#MONITORING-PG-STAT-REPLICATION-SLOTS-VIEW) view provides statistics information about the logical replication slots.

---

|  [Prev](logicaldecoding-sql.html)  |[Up](logicaldecoding.html)| [Next](logicaldecoding-output-plugin.html)|
|:-----------------------------------|:------------------------:|------------------------------------------:|
|49.4. Logical Decoding SQL Interface|    [Home](index.html)    |   49.6. Logical Decoding Output Plugins   |

 // \<![CDATA[ \<-- For SVG support if ('WebSocket' in window) { (function() { function refreshCSS() { var sheets = [].slice.call(document.getElementsByTagName("link")); var head = document.getElementsByTagName("head")[0]; for (var i = 0; i \< sheets.length; ++i) { var elem = sheets[i]; head.removeChild(elem); var rel = elem.rel; if (elem.href && typeof rel != "string" || rel.length == 0 || rel.toLowerCase() == "stylesheet") { var url = elem.href.replace(/(&|\\?)\_cacheOverride=\\d+/, ''); elem.href = url + (url.indexOf('?') \>= 0 ? '&' : '?') + '\_cacheOverride=' + (new Date().valueOf()); } head.appendChild(elem); } } var protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://'; var address = protocol + window.location.host + window.location.pathname + '/ws'; var socket = new WebSocket(address); socket.onmessage = function(msg) { if (msg.data == 'reload') window.location.reload(); else if (msg.data == 'refreshcss') refreshCSS(); }; console.log('Live reload enabled.'); })(); } // ]]\>