summaryrefslogtreecommitdiffstats
path: root/doc/src/sgml/html/oldsnapshot.html
blob: 6d7c761fd9a81e0d7ecb589a7f1806157ef227d5 (plain)
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>F.24. old_snapshot — inspect old_snapshot_threshold state</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="prev" href="ltree.html" title="F.23. ltree — hierarchical tree-like data type" /><link rel="next" href="pageinspect.html" title="F.25. pageinspect — low-level inspection of database pages" /></head><body id="docContent" class="container-fluid col-10"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="5" align="center">F.24. old_snapshot — inspect <code class="literal">old_snapshot_threshold</code> state</th></tr><tr><td width="10%" align="left"><a accesskey="p" href="ltree.html" title="F.23. ltree — hierarchical tree-like data type">Prev</a> </td><td width="10%" align="left"><a accesskey="u" href="contrib.html" title="Appendix F. Additional Supplied Modules and Extensions">Up</a></td><th width="60%" align="center">Appendix F. Additional Supplied Modules and Extensions</th><td width="10%" align="right"><a accesskey="h" href="index.html" title="PostgreSQL 16.2 Documentation">Home</a></td><td width="10%" align="right"> <a accesskey="n" href="pageinspect.html" title="F.25. pageinspect — low-level inspection of database pages">Next</a></td></tr></table><hr /></div><div class="sect1" id="OLDSNAPSHOT"><div class="titlepage"><div><div><h2 class="title" style="clear: both">F.24. old_snapshot — inspect <code class="literal">old_snapshot_threshold</code> state <a href="#OLDSNAPSHOT" class="id_link">#</a></h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="sect2"><a href="oldsnapshot.html#OLDSNAPSHOT-FUNCTIONS">F.24.1. Functions</a></span></dt></dl></div><a id="id-1.11.7.34.2" class="indexterm"></a><p>
  The <code class="filename">old_snapshot</code> module allows inspection
  of the server state that is used to implement
  <a class="xref" href="runtime-config-resource.html#GUC-OLD-SNAPSHOT-THRESHOLD">old_snapshot_threshold</a>.
 </p><div class="sect2" id="OLDSNAPSHOT-FUNCTIONS"><div class="titlepage"><div><div><h3 class="title">F.24.1. Functions <a href="#OLDSNAPSHOT-FUNCTIONS" class="id_link">#</a></h3></div></div></div><div class="variablelist"><dl class="variablelist"><dt><span class="term"><code class="function">pg_old_snapshot_time_mapping(array_offset OUT int4, end_timestamp OUT timestamptz, newest_xmin OUT xid) returns setof record</code></span></dt><dd><p>
      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.
     </p></dd></dl></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ltree.html" title="F.23. ltree — hierarchical tree-like data type">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="contrib.html" title="Appendix F. Additional Supplied Modules and Extensions">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="pageinspect.html" title="F.25. pageinspect — low-level inspection of database pages">Next</a></td></tr><tr><td width="40%" align="left" valign="top">F.23. ltree — hierarchical tree-like data type </td><td width="20%" align="center"><a accesskey="h" href="index.html" title="PostgreSQL 16.2 Documentation">Home</a></td><td width="40%" align="right" valign="top"> F.25. pageinspect — low-level inspection of database pages</td></tr></table></div></body></html>