<entry>information about range types</entry>
</row>
- <row>
- <entry><link linkend="catalog-pg-rewrite"><structname>pg_rewrite</structname></link></entry>
- <entry>query rewrite rules</entry>
- </row>
-
<row>
<entry><link linkend="catalog-pg-replication-origin"><structname>pg_replication_origin</structname></link></entry>
<entry>registered replication origins</entry>
</row>
<row>
- <entry><link linkend="catalog-pg-replication-origin-status"><structname>pg_replication_origin_status</structname></link></entry>
- <entry>information about replication origins, including replication progress</entry>
- </row>
-
- <row>
- <entry><link linkend="catalog-pg-replication-slots"><structname>pg_replication_slots</structname></link></entry>
- <entry>replication slot information</entry>
+ <entry><link linkend="catalog-pg-rewrite"><structname>pg_rewrite</structname></link></entry>
+ <entry>query rewrite rules</entry>
</row>
<row>
</sect1>
+ <sect1 id="catalog-pg-replication-origin">
+ <title><structname>pg_replication_origin</structname></title>
+
+ <indexterm zone="catalog-pg-replication-origin">
+ <primary>pg_replication_origin</primary>
+ </indexterm>
+
+ <para>
+ The <structname>pg_replication_origin</structname> catalog contains
+ all replication origins created. For more on replication origins
+ see <xref linkend="replication-origins">.
+ </para>
+
+ <table>
+
+ <title><structname>pg_replication_origin</structname> Columns</title>
+
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>References</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry><structfield>roident</structfield></entry>
+ <entry><type>Oid</type></entry>
+ <entry></entry>
+ <entry>A unique, cluster-wide identifier for the replication
+ origin. Should never leave the system.</entry>
+ </row>
+
+ <row>
+ <entry><structfield>roname</structfield></entry>
+ <entry><type>text</type></entry>
+ <entry></entry>
+ <entry>The external, user defined, name of a replication
+ origin.</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </sect1>
+
<sect1 id="catalog-pg-rewrite">
<title><structname>pg_rewrite</structname></title>
</sect1>
- <sect1 id="catalog-pg-replication-origin">
- <title><structname>pg_replication_origin</structname></title>
-
- <indexterm zone="catalog-pg-replication-origin">
- <primary>pg_replication_origin</primary>
- </indexterm>
-
- <para>
- The <structname>pg_replication_origin</structname> catalog contains
- all replication origins created. For more on replication origins
- see <xref linkend="replication-origins">.
- </para>
-
- <table>
-
- <title><structname>pg_replication_origin</structname> Columns</title>
-
- <tgroup cols="4">
- <thead>
- <row>
- <entry>Name</entry>
- <entry>Type</entry>
- <entry>References</entry>
- <entry>Description</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry><structfield>roident</structfield></entry>
- <entry><type>Oid</type></entry>
- <entry></entry>
- <entry>A unique, cluster-wide identifier for the replication
- origin. Should never leave the system.</entry>
- </row>
-
- <row>
- <entry><structfield>roname</structfield></entry>
- <entry><type>text</type></entry>
- <entry></entry>
- <entry>The external, user defined, name of a replication
- origin.</entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </sect1>
-
- <sect1 id="catalog-pg-replication-origin-status">
- <title><structname>pg_replication_origin_status</structname></title>
-
- <indexterm zone="catalog-pg-replication-origin-status">
- <primary>pg_replication_origin_status</primary>
- </indexterm>
-
- <para>
- The <structname>pg_replication_origin_status</structname> view
- contains information about how far replay for a certain origin has
- progressed. For more on replication origins
- see <xref linkend="replication-origins">.
- </para>
-
- <table>
-
- <title><structname>pg_replication_origin_status</structname> Columns</title>
-
- <tgroup cols="4">
- <thead>
- <row>
- <entry>Name</entry>
- <entry>Type</entry>
- <entry>References</entry>
- <entry>Description</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry><structfield>local_id</structfield></entry>
- <entry><type>Oid</type></entry>
- <entry><literal><link linkend="catalog-pg-replication-origin"><structname>pg_replication_origin</structname></link>.roident</literal></entry>
- <entry>internal node identifier</entry>
- </row>
-
- <row>
- <entry><structfield>external_id</structfield></entry>
- <entry><type>text</type></entry>
- <entry><literal><link linkend="catalog-pg-replication-origin"><structname>pg_replication_origin</structname></link>.roname</literal></entry>
- <entry>external node identifier</entry>
- </row>
-
- <row>
- <entry><structfield>remote_lsn</structfield></entry>
- <entry><type>pg_lsn</type></entry>
- <entry></entry>
- <entry>The origin node's LSN up to which data has been replicated.</entry>
- </row>
-
-
- <row>
- <entry><structfield>local_lsn</structfield></entry>
- <entry><type>pg_lsn</type></entry>
- <entry></entry>
- <entry>
- This node's LSN at which <literal>remote_lsn</literal> has
- been replicated. Used to flush commit records before persisting
- data to disk when using asynchronous commits.
- </entry>
- </row>
- </tbody>
- </tgroup>
- </table>
- </sect1>
-
- <sect1 id="catalog-pg-replication-slots">
- <title><structname>pg_replication_slots</structname></title>
-
- <indexterm zone="catalog-pg-replication-slots">
- <primary>pg_replication_slots</primary>
- </indexterm>
-
- <para>
- The <structname>pg_replication_slots</structname> view provides a listing
- of all replication slots that currently exist on the database cluster,
- along with their current state.
- </para>
-
- <para>
- For more on replication slots,
- see <xref linkend="streaming-replication-slots"> and <xref linkend="logicaldecoding">.
- </para>
-
- <table>
-
- <title><structname>pg_replication_slots</structname> Columns</title>
-
- <tgroup cols="4">
- <thead>
- <row>
- <entry>Name</entry>
- <entry>Type</entry>
- <entry>References</entry>
- <entry>Description</entry>
- </row>
- </thead>
-
- <tbody>
- <row>
- <entry><structfield>slot_name</structfield></entry>
- <entry><type>name</type></entry>
- <entry></entry>
- <entry>A unique, cluster-wide identifier for the replication slot</entry>
- </row>
-
- <row>
- <entry><structfield>plugin</structfield></entry>
- <entry><type>name</type></entry>
- <entry></entry>
- <entry>The base name of the shared object containing the output plugin this logical slot is using, or null for physical slots.</entry>
- </row>
-
- <row>
- <entry><structfield>slot_type</structfield></entry>
- <entry><type>text</type></entry>
- <entry></entry>
- <entry>The slot type - <literal>physical</> or <literal>logical</></entry>
- </row>
-
- <row>
- <entry><structfield>datoid</structfield></entry>
- <entry><type>oid</type></entry>
- <entry><literal><link linkend="catalog-pg-database"><structname>pg_database</structname></link>.oid</literal></entry>
- <entry>The OID of the database this slot is associated with, or
- null. Only logical slots have an associated database.</entry>
- </row>
-
- <row>
- <entry><structfield>database</structfield></entry>
- <entry><type>text</type></entry>
- <entry><literal><link linkend="catalog-pg-database"><structname>pg_database</structname></link>.datname</literal></entry>
- <entry>The name of the database this slot is associated with, or
- null. Only logical slots have an associated database.</entry>
- </row>
-
- <row>
- <entry><structfield>active</structfield></entry>
- <entry><type>boolean</type></entry>
- <entry></entry>
- <entry>True if this slot is currently actively being used</entry>
- </row>
-
- <row>
- <entry><structfield>active_pid</structfield></entry>
- <entry><type>integer</type></entry>
- <entry></entry>
- <entry>The process ID of the session using this slot if the slot
- is currently actively being used. <literal>NULL</literal> if
- inactive.
- </entry>
- </row>
-
- <row>
- <entry><structfield>xmin</structfield></entry>
- <entry><type>xid</type></entry>
- <entry></entry>
- <entry>The oldest transaction that this slot needs the database to
- retain. <literal>VACUUM</literal> cannot remove tuples deleted
- by any later transaction.
- </entry>
- </row>
-
- <row>
- <entry><structfield>catalog_xmin</structfield></entry>
- <entry><type>xid</type></entry>
- <entry></entry>
- <entry>The oldest transaction affecting the system catalogs that this
- slot needs the database to retain. <literal>VACUUM</literal> cannot
- remove catalog tuples deleted by any later transaction.
- </entry>
- </row>
-
- <row>
- <entry><structfield>restart_lsn</structfield></entry>
- <entry><type>pg_lsn</type></entry>
- <entry></entry>
- <entry>The address (<literal>LSN</literal>) of oldest WAL which still
- might be required by the consumer of this slot and thus won't be
- automatically removed during checkpoints.
- </entry>
- </row>
-
- <row>
- <entry><structfield>confirmed_flush_lsn</structfield></entry>
- <entry><type>pg_lsn</type></entry>
- <entry></entry>
- <entry>The address (<literal>LSN</literal>) up to which the logical
- slot's consumer has confirmed receiving data. Data older than this is
- not available anymore. <literal>NULL</> for physical slots.
- </entry>
- </row>
-
- </tbody>
- </tgroup>
- </table>
- </sect1>
-
<sect1 id="catalog-pg-seclabel">
<title><structname>pg_seclabel</structname></title>
<entry>prepared transactions</entry>
</row>
+ <row>
+ <entry><link linkend="view-pg-replication-origin-status"><structname>pg_replication_origin_status</structname></link></entry>
+ <entry>information about replication origins, including replication progress</entry>
+ </row>
+
+ <row>
+ <entry><link linkend="view-pg-replication-slots"><structname>pg_replication_slots</structname></link></entry>
+ <entry>replication slot information</entry>
+ </row>
+
<row>
<entry><link linkend="view-pg-roles"><structname>pg_roles</structname></link></entry>
<entry>database roles</entry>
</sect1>
+ <sect1 id="view-pg-replication-origin-status">
+ <title><structname>pg_replication_origin_status</structname></title>
+
+ <indexterm zone="view-pg-replication-origin-status">
+ <primary>pg_replication_origin_status</primary>
+ </indexterm>
+
+ <para>
+ The <structname>pg_replication_origin_status</structname> view
+ contains information about how far replay for a certain origin has
+ progressed. For more on replication origins
+ see <xref linkend="replication-origins">.
+ </para>
+
+ <table>
+
+ <title><structname>pg_replication_origin_status</structname> Columns</title>
+
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>References</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry><structfield>local_id</structfield></entry>
+ <entry><type>Oid</type></entry>
+ <entry><literal><link linkend="catalog-pg-replication-origin"><structname>pg_replication_origin</structname></link>.roident</literal></entry>
+ <entry>internal node identifier</entry>
+ </row>
+
+ <row>
+ <entry><structfield>external_id</structfield></entry>
+ <entry><type>text</type></entry>
+ <entry><literal><link linkend="catalog-pg-replication-origin"><structname>pg_replication_origin</structname></link>.roname</literal></entry>
+ <entry>external node identifier</entry>
+ </row>
+
+ <row>
+ <entry><structfield>remote_lsn</structfield></entry>
+ <entry><type>pg_lsn</type></entry>
+ <entry></entry>
+ <entry>The origin node's LSN up to which data has been replicated.</entry>
+ </row>
+
+ <row>
+ <entry><structfield>local_lsn</structfield></entry>
+ <entry><type>pg_lsn</type></entry>
+ <entry></entry>
+ <entry>
+ This node's LSN at which <literal>remote_lsn</literal> has
+ been replicated. Used to flush commit records before persisting
+ data to disk when using asynchronous commits.
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </sect1>
+
+ <sect1 id="view-pg-replication-slots">
+ <title><structname>pg_replication_slots</structname></title>
+
+ <indexterm zone="view-pg-replication-slots">
+ <primary>pg_replication_slots</primary>
+ </indexterm>
+
+ <para>
+ The <structname>pg_replication_slots</structname> view provides a listing
+ of all replication slots that currently exist on the database cluster,
+ along with their current state.
+ </para>
+
+ <para>
+ For more on replication slots,
+ see <xref linkend="streaming-replication-slots"> and <xref linkend="logicaldecoding">.
+ </para>
+
+ <table>
+
+ <title><structname>pg_replication_slots</structname> Columns</title>
+
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>Name</entry>
+ <entry>Type</entry>
+ <entry>References</entry>
+ <entry>Description</entry>
+ </row>
+ </thead>
+
+ <tbody>
+ <row>
+ <entry><structfield>slot_name</structfield></entry>
+ <entry><type>name</type></entry>
+ <entry></entry>
+ <entry>A unique, cluster-wide identifier for the replication slot</entry>
+ </row>
+
+ <row>
+ <entry><structfield>plugin</structfield></entry>
+ <entry><type>name</type></entry>
+ <entry></entry>
+ <entry>The base name of the shared object containing the output plugin this logical slot is using, or null for physical slots.</entry>
+ </row>
+
+ <row>
+ <entry><structfield>slot_type</structfield></entry>
+ <entry><type>text</type></entry>
+ <entry></entry>
+ <entry>The slot type - <literal>physical</> or <literal>logical</></entry>
+ </row>
+
+ <row>
+ <entry><structfield>datoid</structfield></entry>
+ <entry><type>oid</type></entry>
+ <entry><literal><link linkend="catalog-pg-database"><structname>pg_database</structname></link>.oid</literal></entry>
+ <entry>The OID of the database this slot is associated with, or
+ null. Only logical slots have an associated database.</entry>
+ </row>
+
+ <row>
+ <entry><structfield>database</structfield></entry>
+ <entry><type>text</type></entry>
+ <entry><literal><link linkend="catalog-pg-database"><structname>pg_database</structname></link>.datname</literal></entry>
+ <entry>The name of the database this slot is associated with, or
+ null. Only logical slots have an associated database.</entry>
+ </row>
+
+ <row>
+ <entry><structfield>active</structfield></entry>
+ <entry><type>boolean</type></entry>
+ <entry></entry>
+ <entry>True if this slot is currently actively being used</entry>
+ </row>
+
+ <row>
+ <entry><structfield>active_pid</structfield></entry>
+ <entry><type>integer</type></entry>
+ <entry></entry>
+ <entry>The process ID of the session using this slot if the slot
+ is currently actively being used. <literal>NULL</literal> if
+ inactive.
+ </entry>
+ </row>
+
+ <row>
+ <entry><structfield>xmin</structfield></entry>
+ <entry><type>xid</type></entry>
+ <entry></entry>
+ <entry>The oldest transaction that this slot needs the database to
+ retain. <literal>VACUUM</literal> cannot remove tuples deleted
+ by any later transaction.
+ </entry>
+ </row>
+
+ <row>
+ <entry><structfield>catalog_xmin</structfield></entry>
+ <entry><type>xid</type></entry>
+ <entry></entry>
+ <entry>The oldest transaction affecting the system catalogs that this
+ slot needs the database to retain. <literal>VACUUM</literal> cannot
+ remove catalog tuples deleted by any later transaction.
+ </entry>
+ </row>
+
+ <row>
+ <entry><structfield>restart_lsn</structfield></entry>
+ <entry><type>pg_lsn</type></entry>
+ <entry></entry>
+ <entry>The address (<literal>LSN</literal>) of oldest WAL which still
+ might be required by the consumer of this slot and thus won't be
+ automatically removed during checkpoints.
+ </entry>
+ </row>
+
+ <row>
+ <entry><structfield>confirmed_flush_lsn</structfield></entry>
+ <entry><type>pg_lsn</type></entry>
+ <entry></entry>
+ <entry>The address (<literal>LSN</literal>) up to which the logical
+ slot's consumer has confirmed receiving data. Data older than this is
+ not available anymore. <literal>NULL</> for physical slots.
+ </entry>
+ </row>
+
+ </tbody>
+ </tgroup>
+ </table>
+ </sect1>
+
<sect1 id="view-pg-roles">
<title><structname>pg_roles</structname></title>