Add pg_tle
authorDevrim Gunduz <devrim@gunduz.org>
Fri, 17 Jan 2025 21:01:36 +0000 (15:01 -0600)
committerDevrim Gunduz <devrim@gunduz.org>
Fri, 17 Jan 2025 21:01:36 +0000 (15:01 -0600)
templates/pages/extensions.html
templates/pages/extensions/pg_tle.html [new file with mode: 0644]

index b837f25d1b9655f8bc88c063d62f8ebdbf45cf44..d1f1d097fd248f39ca4accc2365348dd9d6e593e 100644 (file)
@@ -84,6 +84,7 @@ w{% extends "base.html" %}
        <a href="/extensions/pg_stat_monitor/">pg_stat_monitor</a><br>
        <a href="/extensions/pg_store_plans/">pg_store_plans</a><br>
        <a href="/extensions/pgtap/">pgtap</a><br>
+       <a href="/extensions/pg_tle/">pg_tle</a><br>
        <a href="/extensions/plsh/">PL/sh</a><br>
        <a href="/extensions/postgis/">PostGIS</a><br>
 </p>
diff --git a/templates/pages/extensions/pg_tle.html b/templates/pages/extensions/pg_tle.html
new file mode 100644 (file)
index 0000000..745b942
--- /dev/null
@@ -0,0 +1,119 @@
+{%extends "base.html" %}
+{%block title%}Extension howto docs{%endblock%}
+{%block maincontent%}
+
+<h1>pg_tle</h1>
+
+<h2>Website</h2>
+<p>
+<a href="https://github.com/aws/pg_tle/" target="_blank">https://github.com/aws/pg_tle/</a>
+</p>
+
+<h2>Description</h2>
+<p>
+<a href="https://github.com/aws/pg_tle/" target="_blank">pg_tle</a>
+(Trusted Language Extensions (TLE) for PostgreSQL) is an open
+source project that lets developers extend and deploy new PostgreSQL
+functionality with lower administrative and technical overhead.
+Developers can use Trusted Language Extensions for PostgreSQL to create
+and install extensions on restricted filesystems and work with
+PostgreSQL internals through a SQL API.
+gives capability to users to launch
+</p>
+
+<h2>Package naming convention</h2>
+<p>
+The PostgreSQL RPM repository uses PostgreSQL version numbers in the RPM packages.
+For example pg_tle for PostgreSQL 17 is named as <span class="pgyum-warning">pg_tle_17</span>.
+Similarly pg_tle for PostgreSQL 15 is named as <span class="pgyum-warning">pg_tle_15</span>.
+</p>
+
+<h2>Subpackages</h2>
+<p>
+pg_tle provides the following subpackages:
+       <ul>
+               <li>llvmjit: Provides just-in-time compilation support for pg_tle</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 pg_tle_17 <span class="pgyum-warning">(or change the version as described above)</span></td>
+        </tr>
+    </tbody>
+</table>
+</p>
+
+<h2>Post-installation</h2>
+
+<p>
+pg_tle requires to be added to <a href="https://www.postgresql.org/docs/current/runtime-config-client.html#GUC-SHARED-PRELOAD-LIBRARIES">shared_preload_libraries</a>
+before creating the extension. This requires a restart of the PostgreSQL
+instance to take effect. If there are additional libraries, please be sure to
+add them as a comma-separated list. An example is:
+<br>
+<code>shared_preload_libraries="pg_tle"</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> pg_tle;</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%}