title" style="clear: both">8.20. <code class="type">pg_lsn</code> Type <a href="#DATATYPE-PG-LSN" class="id_link">#</a></h2></div></div></div><a id="id-1.5.7.28.2" class="indexterm"></a><p>
    The <code class="type">pg_lsn</code> data type can be used to store LSN (Log Sequence
    Number) data which is a pointer to a location in the WAL. This type is a
    representation of <code class="type">XLogRecPtr</code> and an internal system type of
    <span class="productname">PostgreSQL</span>.
   </p><p>
    