Update links of contrib extensions to point to the .org docs
authorDevrim Gunduz <[email protected]>
Fri, 7 Feb 2025 13:38:19 +0000 (16:38 +0300)
committerDevrim Gunduz <[email protected]>
Fri, 7 Feb 2025 13:38:19 +0000 (16:38 +0300)
templates/pages/extensions/pg_readme.html
templates/pages/extensions/pg_stat_kcache.html
templates/pages/extensions/pg_statement_rollback.html
templates/pages/extensions/pgtt.html [new file with mode: 0644]
templates/pages/extensions/postgresql_faker.html
templates/pages/extensions/prefix.html [new file with mode: 0644]

index 717f66251dfb8fee641194735468fcd2f61925f8..2b72fd6222a6a7342802cec41b9cc7f83bcecbb1 100644 (file)
@@ -45,7 +45,7 @@ Install PGDG repository from: <a href="https://yum.postgresql.org/repopackages/"
 <h2>Post-installation</h2>
 <p>
 Connect to the database that you want to create the extension (superuser access is not needed) and run:<br>
-<code><a href="https://www.postgresql.org/docs/current/sql-createextension.html" target="_blank">CREATE EXTENSION</a> pg_readme CASCADE;</code> # CASCADE is needed for the <a href="/extensions/hstore/" target="_blank">hstore</a> extension
+<code><a href="https://www.postgresql.org/docs/current/sql-createextension.html" target="_blank">CREATE EXTENSION</a> pg_readme CASCADE;</code> # CASCADE is needed for the <a href="https://www.postgresql.org/docs/current/hstore.html" target="_blank">hstore</a> extension
 </p>
 
 <h2>Available packages</h2>
index 2e0063291e01118fa8f6c9c718b52788b4c45c23..e28d9e715bfbaea74d5b7a7e74c7f767292e7596 100644 (file)
@@ -75,7 +75,7 @@ for details:
 <p>
 You can create the extension after restarting the instance. 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_stat_kcache  CASCADE;</code> # CASCADE is needed for the <a href="/extensions/pg_stat_statements/" target="_blank">pg_stat_statements</a> extension.
+<code><a href="https://www.postgresql.org/docs/current/sql-createextension.html" target="_blank">CREATE EXTENSION</a> pg_stat_kcache  CASCADE;</code> # CASCADE is needed for the <a href="https://www.postgresql.org/docs/current/pgstatstatements.html" target="_blank">pg_stat_statements</a> extension.
 </p>
 
 <h2>Available packages</h2>
index d68147be76cac92f8e86a1e070aad54834066edd..2722d5997b5a3cb597427ac1836f973db10b4d3d 100644 (file)
@@ -86,6 +86,7 @@ Please refer to the <a href="https://github.com/lzlabs/pg_statement_rollback/?ta
 </ul>
 </p>
 
+<h3>Creating the extension</h3>
 <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_statement_rollback;</code> 
diff --git a/templates/pages/extensions/pgtt.html b/templates/pages/extensions/pgtt.html
new file mode 100644 (file)
index 0000000..81a9a34
--- /dev/null
@@ -0,0 +1,121 @@
+{%extends "base.html" %}
+{%block title%}Extension howto docs{%endblock%}
+{%block maincontent%}
+
+<h1>pgtt</h1>
+
+<h2>Website</h2>
+<p>
+<a href="https://github.com/darold/pgtt/" target="_blank">https://github.com/darold/pgtt/</a>
+</p>
+
+<h2>Description</h2>
+<p>
+<a href="https://github.com/darold/pgtt/" target="_blank">pgtt</a>
+is a PostgreSQL extension to create, manage and use Oracle-style Global
+Temporary Tables and the others RDBMS.
+</p>
+
+<p>
+The objective of this extension it to propose an extension to provide the
+Global Temporary Table feature waiting for an in core implementation. The
+main interest of this extension is to mimic the Oracle behavior with GTT when
+you can not or don't want to rewrite the application code when migrating to
+PostgreSQL. In all other case best is to rewrite the code to use standard
+PostgreSQL temporary tables.
+</p>
+
+<h2>Package naming convention</h2>
+<p>
+The PostgreSQL RPM repository uses PostgreSQL version numbers in the RPM packages.
+For example pgtt for PostgreSQL 17 is named as <span class="pgyum-warning">pgtt_17</span>.
+Similarly pgtt for PostgreSQL 15 is named as <span class="pgyum-warning">pgtt_15</span>.
+</p>
+
+<h2>Subpackages</h2>
+<p>
+pgtt provides the following subpackages:
+</p>
+       <ul>
+               <li>llvmjit: Provides just-in-time compilation support for pgtt</li>
+       </ul>
+</p>
+
+<h2>Package specifications and repository requirements</h2>
+
+<h3>PostgreSQL PGDG RPM repository</h3>
+<p>Install PGDG repository from: <a href="https://yum.postgresql.org/repopackages/" target="_blank">https://yum.postgresql.org/repopackages/</a></p>
+
+<h2>Installation</h2>
+<p>
+<table class="table">
+    <thead>
+       <tr class="thead-light">
+            <th width="30%">OS</th>
+            <th width="70%">Command</th>
+        </tr>
+    </thead>
+
+    <tbody>
+       <tr>
+            <td>RHEL / Rocky Linux / AlmaLinux / Fedora</td>
+            <td>dnf install pgtt_17 <span class="pgyum-warning">(or change the version as described above)</span></td>
+        </tr>
+    </tbody>
+</table>
+</p>
+
+<h2>Post-installation</h2>
+<p>
+pgtt requires to be added to <a href="https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-SESSION-PRELOAD-LIBRARIES">session_preload_libraries</a> 
+before creating the extension. This requires a restart of the PostgreSQL instance to take effect. An example is:
+<br>
+<code>session_preload_libraries="pgtt"</code>
+</p>
+
+<p>
+You can create the extension after restarting the instance. 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> pgtt;</code>
+</p>
+
+<h2>Available packages</h2>
+<p>
+<table class="table">
+    <thead>
+       <tr class="thead-light">
+            <th width="10%">PostgreSQL version(s)</th>
+            <th width="40%">OS version</th>
+            <th width="10%">Arch</th>
+            <th width="30%">Status</th>
+        </tr>
+    </thead>
+
+    <tbody>
+       <tr>
+            <td>17,16,15,14,13</td>
+            <td>RHEL / Rocky Linux / AlmaLinux 9</td>
+            <td>x86_64, aarch64</td>
+            <td class="pgyum-available">Available</td>
+        </tr>
+
+       <tr>
+            <td>17,16,15,14,13</td>
+            <td>RHEL / Rocky Linux / AlmaLinux 8</td>
+            <td>x86_64, aarch64</td>
+            <td class="pgyum-available">Available</td>
+        </tr>
+
+       <tr>
+            <td>17,16,15,14,13</td>
+            <td>Fedora Linux</td>
+            <td>x86_64</td>
+            <td class="pgyum-available">Available</td>
+        </tr>
+
+    </tbody>
+</table>
+</p>
+
+
+{%endblock%}
index 6d640eeeae6ca533147c9e9ea9e0269dadbc3d79..8f1a7160442f293e85d66b22524f09b1b9abd41c 100644 (file)
@@ -50,7 +50,7 @@ Install PGDG repository from: <a href="https://yum.postgresql.org/repopackages/"
 <h2>Post-installation</h2>
 <p>
 Connect to the database that you want to create the extension (superuser access is not needed) and run:<br>
-<code><a href="https://www.postgresql.org/docs/current/sql-createextension.html" target="_blank">CREATE EXTENSION</a> faker CASCADE;</code> # CASCADE is needed for the <a href="/extensions/plpython3u/" target="_blank">plpython3u</a> extension.
+<code><a href="https://www.postgresql.org/docs/current/sql-createextension.html" target="_blank">CREATE EXTENSION</a> faker CASCADE;</code> # CASCADE is needed for the <a href="https://www.postgresql.org/docs/current/plpython.html" target="_blank">plpython3u</a> extension.
 </p>
 
 <h2>Available packages</h2>
diff --git a/templates/pages/extensions/prefix.html b/templates/pages/extensions/prefix.html
new file mode 100644 (file)
index 0000000..0e9f1da
--- /dev/null
@@ -0,0 +1,101 @@
+{%extends "base.html" %}
+{%block title%}Extension howto docs{%endblock%}
+{%block maincontent%}
+
+<h1>prefix</h1>
+
+<h2>Website</h2>
+<p>
+<a href="https://github.com/dimitri/prefix/" target="_blank">https://github.com/dimitri/prefix/</a>
+</p>
+
+<h2>Description</h2>
+<p>
+<a href="https://github.com/dimitri/prefix/" target="_blank">prefix</a>
+is a Postgres extension that provides SSL certicate generation
+functions to Postgres.
+</p>
+
+<h2>Package naming convention</h2>
+<p>
+The PostgreSQL RPM repository uses PostgreSQL version numbers in the RPM packages.
+For example prefix for PostgreSQL 17 is named as <span class="pgyum-warning">prefix_17</span>.
+Similarly prefix for PostgreSQL 15 is named as <span class="pgyum-warning">prefix_15</span>.
+</p>
+
+<h2>Subpackages</h2>
+<p>
+prefix provides the following subpackages:
+</p>
+       <ul>
+               <li>llvmjit: Provides just-in-time compilation support for prefix</li>
+       </ul>
+</p>
+
+<h2>Package specifications and repository requirements</h2>
+<h3>PostgreSQL PGDG RPM repository</h3>
+<p>Install PGDG repository from: <a href="https://yum.postgresql.org/repopackages/" target="_blank">https://yum.postgresql.org/repopackages/</a></p>
+
+<h2>Installation</h2>
+<p>
+<table class="table">
+    <thead>
+       <tr class="thead-light">
+            <th width="30%">OS</th>
+            <th width="70%">Command</th>
+        </tr>
+    </thead>
+
+    <tbody>
+       <tr>
+            <td>RHEL / Rocky Linux / AlmaLinux / Fedora</td>
+            <td>dnf install prefix_17 <span class="pgyum-warning">(or change the version as described above)</span></td>
+        </tr>
+    </tbody>
+</table>
+</p>
+
+<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> prefix;</code>
+</p>
+
+<h2>Available packages</h2>
+<p>
+<table class="table">
+    <thead>
+       <tr class="thead-light">
+            <th width="10%">PostgreSQL version(s)</th>
+            <th width="40%">OS version</th>
+            <th width="10%">Arch</th>
+            <th width="30%">Status</th>
+        </tr>
+    </thead>
+
+    <tbody>
+       <tr>
+            <td>17,16,15,14,13</td>
+            <td>RHEL / Rocky Linux / AlmaLinux 9</td>
+            <td>x86_64, aarch64</td>
+            <td class="pgyum-available">Available</td>
+        </tr>
+
+       <tr>
+            <td>17,16,15,14,13</td>
+            <td>RHEL / Rocky Linux / AlmaLinux 8</td>
+            <td>x86_64, aarch64</td>
+            <td class="pgyum-available">Available</td>
+        </tr>
+
+       <tr>
+            <td>17,16,15,14,13</td>
+            <td>Fedora Linux</td>
+            <td>x86_64</td>
+            <td class="pgyum-available">Available</td>
+        </tr>
+
+    </tbody>
+</table>
+</p>
+
+{%endblock%}