F.22. old\_snapshot

|F.22. old\_snapshot|                  |                                       |                  |                         |
|:-----------------:|------------------|---------------------------------------|------------------|-------------------------|
|[Prev](ltree.html) |[Up](contrib.html)|Appendix F. Additional Supplied Modules|[Home](index.html)| [Next](pageinspect.html)|

---

## F.22. old\_snapshot

[F.22.1. Functions](oldsnapshot.html#id-1.11.7.31.4)

[]()

 The `old_snapshot` module allows inspection of the server state that is used to implement [old\_snapshot\_threshold](runtime-config-resource.html#GUC-OLD-SNAPSHOT-THRESHOLD).

### F.22.1. Functions

`pg_old_snapshot_time_mapping(array_offset OUT int4, end_timestamp OUT timestamptz, newest_xmin OUT xid) returns setof record`

 Returns all of the entries in the server's timestamp to XID mapping. Each entry represents the newest xmin of any snapshot taken in the corresponding minute.

---

|[Prev](ltree.html)|[Up](contrib.html)| [Next](pageinspect.html)|
|:-----------------|:----------------:|------------------------:|
|   F.21. ltree    |[Home](index.html)|    F.23. pageinspect    |

 // \<![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.'); })(); } // ]]\>