Oops, fix 7cb36f57c55
authorDevrim Gunduz <[email protected]>
Wed, 29 Jan 2025 12:11:47 +0000 (13:11 +0100)
committerDevrim Gunduz <[email protected]>
Wed, 29 Jan 2025 12:11:47 +0000 (13:11 +0100)
templates/pages/extensions/system_stats.html

index 6fb48969da478bf49ec66ee9335b5d8117d3fe49..2c56262c16cf9a9b0ac9b3ec1fc0eeba7434356a 100644 (file)
@@ -2,44 +2,39 @@
 {%block title%}Extension howto docs{%endblock%}
 {%block maincontent%}
 
-<h1>pg_failover_slots</h1>
+<h1>system_stats</h1>
 
 <h2>Website</h2>
 <p>
-<a href="https://github.com/EnterpriseDB/pg_failover_slots/" target="_blank">https://github.com/EnterpriseDB/pg_failover_slots/</a>
+<a href="https://github.com/EnterpriseDB/system_stats/" target="_blank">https://github.com/EnterpriseDB/system_stats/</a>
 </p>
 
 <h2>Description</h2>
 <p>
-<a href="https://github.com/EnterpriseDB/pg_failover_slots/" target="_blank">pg_failover_slots</a>
-is an extension that makes logical replication slots practically usable across
-physical failover.
+<a href="https://github.com/EnterpriseDB/system_stats/" target="_blank">system_stats</a>
+is a Postgres extension that provides functions to access system
+level statistics that can be used for monitoring. It supports Linux, macOS and
+Windows.
 </p>
+
 <p>
-This extension does the following:
-<br>
-<ul>
-       <li>Copy any missing slots from primary to standby</li>
-       <li> Remove any slots from standby that are not found on primary</li>
-       <li> Periodically synchronize position of slots on standby based on primary</li>
-       <li> Ensure that selected standbys receive data before any of the logical slot
-            walsenders can send data to consumers.</li>
-</ul>
+Note that not all values are relevant on all operating systems. In such cases
+NULL is returned for affected values.
 </p>
 
 <h2>Package naming convention</h2>
 <p>
 The PostgreSQL RPM repository uses PostgreSQL version numbers in the RPM packages.
-For example pg_failover_slots for PostgreSQL 17 is named as <span class="pgyum-warning">pg_failover_slots_17</span>.
-Similarly pg_failover_slots for PostgreSQL 15 is named as <span class="pgyum-warning">pg_failover_slots_15</span>.
+For example system_stats for PostgreSQL 17 is named as <span class="pgyum-warning">system_stats_17</span>.
+Similarly system_stats for PostgreSQL 15 is named as <span class="pgyum-warning">system_stats_15</span>.
 </p>
 
 <h2>Subpackages</h2>
 <p>
-pg_failover_slots provides the following subpackages:
+system_stats provides the following subpackages:
 </p>
        <ul>
-               <li>llvmjit: Provides just-in-time compilation support for pg_failover_slots</li>
+               <li>llvmjit: Provides just-in-time compilation support for system_stats</li>
        </ul>
 </p>
 
@@ -60,7 +55,7 @@ pg_failover_slots provides the following subpackages:
     <tbody>
        <tr>
             <td>RHEL / Rocky Linux / AlmaLinux / Fedora</td>
-            <td>dnf install pg_failover_slots_17 <span class="pgyum-warning">(or change the version as described above)</span></td>
+            <td>dnf install system_stats_17 <span class="pgyum-warning">(or change the version as described above)</span></td>
         </tr>
     </tbody>
 </table>
@@ -68,24 +63,9 @@ pg_failover_slots provides the following subpackages:
 
 <h2>Post-installation</h2>
 <p>Connect to the database that you want to create the extension as superuser and run:<br>
-<code><a href="https://www.postgresql.org/docs/current/sql-createextension.html" target="_blank">CREATE EXTENSION</a> pg_failover_slots;</code>
+<code><a href="https://www.postgresql.org/docs/current/sql-createextension.html" target="_blank">CREATE EXTENSION</a> system_stats;</code>
 </p>
 
-<h3>Additional GUC</h3>
-<p>
-You can use the following <a href="https://www.postgresql.org/docs/current/config-setting.html" target="_blank">GUC</a> to manage this extension. Please read the <a href="https://github.com/EnterpriseDB/pg_failover_slots/?tab=readme-ov-file#configuration-options">documentation</a>for details:
-<ul>
-        <li><code><a href="https://github.com/EnterpriseDB/pg_failover_slots/?tab=readme-ov-file#pg_failover_slotssynchronize_slot_names" target="_blank">pg_failover_slots.synchronize_slot_names</code></li>
-        <li><code><a href="https://github.com/EnterpriseDB/pg_failover_slots/?tab=readme-ov-file#pg_failover_slotsdrop_extra_slots" target="_blank">pg_failover_slots.drop_extra_slots</code></li>
-        <li><code><a href="https://github.com/EnterpriseDB/pg_failover_slots/?tab=readme-ov-file#pg_failover_slotsprimary_dsn" target="_blank">pg_failover_slots.primary_dsn</code></li>
-        <li><code><a href="https://github.com/EnterpriseDB/pg_failover_slots/?tab=readme-ov-file#pg_failover_slotsstandby_slot_names" target="_blank">pg_failover_slotsstandby_slot_names</code></li>
-        <li><code><a href="https://github.com/EnterpriseDB/pg_failover_slots/?tab=readme-ov-file#pg_failover_slotsstandby_slots_min_confirmed" target="_blank">pg_failover_slots.standby_slots_min_confirmed</code></li>
-        <li><code><a href="https://github.com/EnterpriseDB/pg_failover_slots/?tab=readme-ov-file#pg_failover_slotsworker_nap_time" target="_blank">pg_failover_slots.worker_nap_time</code></li>
-        <li><code><a href="https://github.com/EnterpriseDB/pg_failover_slots/?tab=readme-ov-file#pg_failover_slotsmaintenance_db" target="_blank">pg_failover_slots.maintenance_db</code></li>
-</ul>
-</p>
-
-
 <h2>Available packages</h2>
 <p>
 <table class="table">