pg_tle

pg_tle : Trusted Language Extensions for PostgreSQL

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
3000
pg_tle
pg_tle
1.5.2
LANG
Apache-2.0
C
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
--sLd--
No
Yes
Yes
Yes
no
no
Relationships
Schemaspgtle
See Also
plpgsql
plv8
pllua
pljava
plperl
plpython3u
plprql
plsh

require bison flex to build

Packages

TypeRepoVersionPG Major CompatibilityPackage PatternDependencies
EXT
PIGSTY
1.5.2
18
17
16
15
14
pg_tle-
RPM
PGDG
1.5.2
18
17
16
15
14
pg_tle_$v-
DEB
PIGSTY
1.5.2
18
17
16
15
14
postgresql-$v-pg-tle-
Linux / PGPG18PG17PG16PG15PG14
el8.x86_64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
el8.aarch64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
el9.x86_64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
el9.aarch64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
el10.x86_64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
el10.aarch64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
d12.x86_64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
d12.aarch64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
d13.x86_64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
d13.aarch64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
u22.x86_64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
u22.aarch64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
u24.x86_64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
u24.aarch64
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PIGSTY 1.5.2
PackageVersionOSORGSIZEFile URL
pg_tle_181.5.2el8.x86_64pigsty68.8 KiBpg_tle_18-1.5.2-1PIGSTY.el8.x86_64.rpm
pg_tle_181.5.2el8.x86_64pgdg68.7 KiBpg_tle_18-1.5.2-1PGDG.rhel8.x86_64.rpm
pg_tle_181.5.2el8.aarch64pigsty65.4 KiBpg_tle_18-1.5.2-1PIGSTY.el8.aarch64.rpm
pg_tle_181.5.2el8.aarch64pgdg65.3 KiBpg_tle_18-1.5.2-1PGDG.rhel8.aarch64.rpm
pg_tle_181.5.2el9.x86_64pigsty63.0 KiBpg_tle_18-1.5.2-1PIGSTY.el9.x86_64.rpm
pg_tle_181.5.2el9.x86_64pgdg65.1 KiBpg_tle_18-1.5.2-1PGDG.rhel9.x86_64.rpm
pg_tle_181.5.2el9.aarch64pigsty59.9 KiBpg_tle_18-1.5.2-1PIGSTY.el9.aarch64.rpm
pg_tle_181.5.2el9.aarch64pgdg62.1 KiBpg_tle_18-1.5.2-1PGDG.rhel9.aarch64.rpm
pg_tle_181.5.2el10.x86_64pigsty63.3 KiBpg_tle_18-1.5.2-1PIGSTY.el10.x86_64.rpm
pg_tle_181.5.2el10.x86_64pgdg65.8 KiBpg_tle_18-1.5.2-1PGDG.rhel10.x86_64.rpm
pg_tle_181.5.2el10.aarch64pigsty60.6 KiBpg_tle_18-1.5.2-1PIGSTY.el10.aarch64.rpm
pg_tle_181.5.2el10.aarch64pgdg63.3 KiBpg_tle_18-1.5.2-1PGDG.rhel10.aarch64.rpm
postgresql-18-pg-tle1.5.2d12.x86_64pigsty159.9 KiBpostgresql-18-pg-tle_1.5.2-1PIGSTY~bookworm_amd64.deb
postgresql-18-pg-tle1.5.2d12.aarch64pigsty155.1 KiBpostgresql-18-pg-tle_1.5.2-1PIGSTY~bookworm_arm64.deb
postgresql-18-pg-tle1.5.2d13.x86_64pigsty160.1 KiBpostgresql-18-pg-tle_1.5.2-1PIGSTY~trixie_amd64.deb
postgresql-18-pg-tle1.5.2d13.aarch64pigsty155.4 KiBpostgresql-18-pg-tle_1.5.2-1PIGSTY~trixie_arm64.deb
postgresql-18-pg-tle1.5.2u22.x86_64pigsty168.8 KiBpostgresql-18-pg-tle_1.5.2-1PIGSTY~jammy_amd64.deb
postgresql-18-pg-tle1.5.2u22.aarch64pigsty165.3 KiBpostgresql-18-pg-tle_1.5.2-1PIGSTY~jammy_arm64.deb
postgresql-18-pg-tle1.5.2u24.x86_64pigsty162.5 KiBpostgresql-18-pg-tle_1.5.2-1PIGSTY~noble_amd64.deb
postgresql-18-pg-tle1.5.2u24.aarch64pigsty159.8 KiBpostgresql-18-pg-tle_1.5.2-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_tle_171.5.2el8.x86_64pigsty68.8 KiBpg_tle_17-1.5.2-1PIGSTY.el8.x86_64.rpm
pg_tle_171.5.1el8.x86_64pgdg68.2 KiBpg_tle_17-1.5.1-1PGDG.rhel8.x86_64.rpm
pg_tle_171.5.0el8.x86_64pgdg68.1 KiBpg_tle_17-1.5.0-1PGDG.rhel8.x86_64.rpm
pg_tle_171.2.0el8.x86_64pgdg63.1 KiBpg_tle_17-1.2.0-2PGDG.rhel8.x86_64.rpm
pg_tle_171.5.2el8.aarch64pigsty65.4 KiBpg_tle_17-1.5.2-1PIGSTY.el8.aarch64.rpm
pg_tle_171.5.1el8.aarch64pgdg64.8 KiBpg_tle_17-1.5.1-1PGDG.rhel8.aarch64.rpm
pg_tle_171.5.0el8.aarch64pgdg64.7 KiBpg_tle_17-1.5.0-1PGDG.rhel8.aarch64.rpm
pg_tle_171.2.0el8.aarch64pgdg59.4 KiBpg_tle_17-1.2.0-2PGDG.rhel8.aarch64.rpm
pg_tle_171.5.2el9.x86_64pigsty63.1 KiBpg_tle_17-1.5.2-1PIGSTY.el9.x86_64.rpm
pg_tle_171.5.1el9.x86_64pgdg64.7 KiBpg_tle_17-1.5.1-1PGDG.rhel9.x86_64.rpm
pg_tle_171.5.0el9.x86_64pgdg64.5 KiBpg_tle_17-1.5.0-1PGDG.rhel9.x86_64.rpm
pg_tle_171.2.0el9.x86_64pgdg59.4 KiBpg_tle_17-1.2.0-2PGDG.rhel9.x86_64.rpm
pg_tle_171.5.2el9.aarch64pigsty60.0 KiBpg_tle_17-1.5.2-1PIGSTY.el9.aarch64.rpm
pg_tle_171.5.1el9.aarch64pgdg61.8 KiBpg_tle_17-1.5.1-1PGDG.rhel9.aarch64.rpm
pg_tle_171.5.0el9.aarch64pgdg61.7 KiBpg_tle_17-1.5.0-1PGDG.rhel9.aarch64.rpm
pg_tle_171.2.0el9.aarch64pgdg56.2 KiBpg_tle_17-1.2.0-2PGDG.rhel9.aarch64.rpm
pg_tle_171.5.2el10.x86_64pigsty63.2 KiBpg_tle_17-1.5.2-1PIGSTY.el10.x86_64.rpm
pg_tle_171.5.1el10.x86_64pgdg65.1 KiBpg_tle_17-1.5.1-1PGDG.rhel10.x86_64.rpm
pg_tle_171.5.2el10.aarch64pigsty60.6 KiBpg_tle_17-1.5.2-1PIGSTY.el10.aarch64.rpm
pg_tle_171.5.1el10.aarch64pgdg62.8 KiBpg_tle_17-1.5.1-1PGDG.rhel10.aarch64.rpm
postgresql-17-pg-tle1.5.2d12.x86_64pigsty159.6 KiBpostgresql-17-pg-tle_1.5.2-1PIGSTY~bookworm_amd64.deb
postgresql-17-pg-tle1.5.2d12.aarch64pigsty154.8 KiBpostgresql-17-pg-tle_1.5.2-1PIGSTY~bookworm_arm64.deb
postgresql-17-pg-tle1.5.2d13.x86_64pigsty159.8 KiBpostgresql-17-pg-tle_1.5.2-1PIGSTY~trixie_amd64.deb
postgresql-17-pg-tle1.5.2d13.aarch64pigsty155.2 KiBpostgresql-17-pg-tle_1.5.2-1PIGSTY~trixie_arm64.deb
postgresql-17-pg-tle1.5.2u22.x86_64pigsty183.7 KiBpostgresql-17-pg-tle_1.5.2-1PIGSTY~jammy_amd64.deb
postgresql-17-pg-tle1.5.2u22.aarch64pigsty179.8 KiBpostgresql-17-pg-tle_1.5.2-1PIGSTY~jammy_arm64.deb
postgresql-17-pg-tle1.5.2u24.x86_64pigsty162.3 KiBpostgresql-17-pg-tle_1.5.2-1PIGSTY~noble_amd64.deb
postgresql-17-pg-tle1.5.2u24.aarch64pigsty159.8 KiBpostgresql-17-pg-tle_1.5.2-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_tle_161.5.2el8.x86_64pigsty68.8 KiBpg_tle_16-1.5.2-1PIGSTY.el8.x86_64.rpm
pg_tle_161.5.1el8.x86_64pgdg68.2 KiBpg_tle_16-1.5.1-1PGDG.rhel8.x86_64.rpm
pg_tle_161.5.0el8.x86_64pgdg68.1 KiBpg_tle_16-1.5.0-1PGDG.rhel8.x86_64.rpm
pg_tle_161.2.0el8.x86_64pgdg63.0 KiBpg_tle_16-1.2.0-1PGDG.rhel8.x86_64.rpm
pg_tle_161.5.2el8.aarch64pigsty65.4 KiBpg_tle_16-1.5.2-1PIGSTY.el8.aarch64.rpm
pg_tle_161.5.1el8.aarch64pgdg64.8 KiBpg_tle_16-1.5.1-1PGDG.rhel8.aarch64.rpm
pg_tle_161.5.0el8.aarch64pgdg64.7 KiBpg_tle_16-1.5.0-1PGDG.rhel8.aarch64.rpm
pg_tle_161.2.0el8.aarch64pgdg59.3 KiBpg_tle_16-1.2.0-1PGDG.rhel8.aarch64.rpm
pg_tle_161.5.2el9.x86_64pigsty63.1 KiBpg_tle_16-1.5.2-1PIGSTY.el9.x86_64.rpm
pg_tle_161.5.1el9.x86_64pgdg64.7 KiBpg_tle_16-1.5.1-1PGDG.rhel9.x86_64.rpm
pg_tle_161.5.0el9.x86_64pgdg64.6 KiBpg_tle_16-1.5.0-1PGDG.rhel9.x86_64.rpm
pg_tle_161.2.0el9.x86_64pgdg59.2 KiBpg_tle_16-1.2.0-1PGDG.rhel9.x86_64.rpm
pg_tle_161.5.2el9.aarch64pigsty60.0 KiBpg_tle_16-1.5.2-1PIGSTY.el9.aarch64.rpm
pg_tle_161.5.1el9.aarch64pgdg61.9 KiBpg_tle_16-1.5.1-1PGDG.rhel9.aarch64.rpm
pg_tle_161.5.0el9.aarch64pgdg61.7 KiBpg_tle_16-1.5.0-1PGDG.rhel9.aarch64.rpm
pg_tle_161.2.0el9.aarch64pgdg56.2 KiBpg_tle_16-1.2.0-1PGDG.rhel9.aarch64.rpm
pg_tle_161.5.2el10.x86_64pigsty63.7 KiBpg_tle_16-1.5.2-1PIGSTY.el10.x86_64.rpm
pg_tle_161.5.1el10.x86_64pgdg65.2 KiBpg_tle_16-1.5.1-1PGDG.rhel10.x86_64.rpm
pg_tle_161.5.2el10.aarch64pigsty60.6 KiBpg_tle_16-1.5.2-1PIGSTY.el10.aarch64.rpm
pg_tle_161.5.1el10.aarch64pgdg62.8 KiBpg_tle_16-1.5.1-1PGDG.rhel10.aarch64.rpm
postgresql-16-pg-tle1.5.2d12.x86_64pigsty159.6 KiBpostgresql-16-pg-tle_1.5.2-1PIGSTY~bookworm_amd64.deb
postgresql-16-pg-tle1.5.2d12.aarch64pigsty155.1 KiBpostgresql-16-pg-tle_1.5.2-1PIGSTY~bookworm_arm64.deb
postgresql-16-pg-tle1.5.2d13.x86_64pigsty160.0 KiBpostgresql-16-pg-tle_1.5.2-1PIGSTY~trixie_amd64.deb
postgresql-16-pg-tle1.5.2d13.aarch64pigsty155.4 KiBpostgresql-16-pg-tle_1.5.2-1PIGSTY~trixie_arm64.deb
postgresql-16-pg-tle1.5.2u22.x86_64pigsty183.5 KiBpostgresql-16-pg-tle_1.5.2-1PIGSTY~jammy_amd64.deb
postgresql-16-pg-tle1.5.2u22.aarch64pigsty179.7 KiBpostgresql-16-pg-tle_1.5.2-1PIGSTY~jammy_arm64.deb
postgresql-16-pg-tle1.5.2u24.x86_64pigsty162.4 KiBpostgresql-16-pg-tle_1.5.2-1PIGSTY~noble_amd64.deb
postgresql-16-pg-tle1.5.2u24.aarch64pigsty159.9 KiBpostgresql-16-pg-tle_1.5.2-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_tle_151.5.2el8.x86_64pigsty69.9 KiBpg_tle_15-1.5.2-1PIGSTY.el8.x86_64.rpm
pg_tle_151.5.1el8.x86_64pgdg69.1 KiBpg_tle_15-1.5.1-1PGDG.rhel8.x86_64.rpm
pg_tle_151.5.0el8.x86_64pgdg69.0 KiBpg_tle_15-1.5.0-1PGDG.rhel8.x86_64.rpm
pg_tle_151.2.0el8.x86_64pgdg63.9 KiBpg_tle_15-1.2.0-1PGDG.rhel8.x86_64.rpm
pg_tle_151.5.2el8.aarch64pigsty66.4 KiBpg_tle_15-1.5.2-1PIGSTY.el8.aarch64.rpm
pg_tle_151.5.1el8.aarch64pgdg65.5 KiBpg_tle_15-1.5.1-1PGDG.rhel8.aarch64.rpm
pg_tle_151.5.0el8.aarch64pgdg65.4 KiBpg_tle_15-1.5.0-1PGDG.rhel8.aarch64.rpm
pg_tle_151.2.0el8.aarch64pgdg60.2 KiBpg_tle_15-1.2.0-1PGDG.rhel8.aarch64.rpm
pg_tle_151.5.2el9.x86_64pigsty69.1 KiBpg_tle_15-1.5.2-1PIGSTY.el9.x86_64.rpm
pg_tle_151.5.1el9.x86_64pgdg70.5 KiBpg_tle_15-1.5.1-1PGDG.rhel9.x86_64.rpm
pg_tle_151.5.0el9.x86_64pgdg70.8 KiBpg_tle_15-1.5.0-1PGDG.rhel9.x86_64.rpm
pg_tle_151.2.0el9.x86_64pgdg65.5 KiBpg_tle_15-1.2.0-1PGDG.rhel9.x86_64.rpm
pg_tle_151.5.2el9.aarch64pigsty66.5 KiBpg_tle_15-1.5.2-1PIGSTY.el9.aarch64.rpm
pg_tle_151.5.1el9.aarch64pgdg68.1 KiBpg_tle_15-1.5.1-1PGDG.rhel9.aarch64.rpm
pg_tle_151.5.0el9.aarch64pgdg67.9 KiBpg_tle_15-1.5.0-1PGDG.rhel9.aarch64.rpm
pg_tle_151.2.0el9.aarch64pgdg62.3 KiBpg_tle_15-1.2.0-1PGDG.rhel9.aarch64.rpm
pg_tle_151.5.2el10.x86_64pigsty69.8 KiBpg_tle_15-1.5.2-1PIGSTY.el10.x86_64.rpm
pg_tle_151.5.1el10.x86_64pgdg71.7 KiBpg_tle_15-1.5.1-1PGDG.rhel10.x86_64.rpm
pg_tle_151.5.2el10.aarch64pigsty67.0 KiBpg_tle_15-1.5.2-1PIGSTY.el10.aarch64.rpm
pg_tle_151.5.1el10.aarch64pgdg68.8 KiBpg_tle_15-1.5.1-1PGDG.rhel10.aarch64.rpm
postgresql-15-pg-tle1.5.2d12.x86_64pigsty161.2 KiBpostgresql-15-pg-tle_1.5.2-1PIGSTY~bookworm_amd64.deb
postgresql-15-pg-tle1.5.2d12.aarch64pigsty156.2 KiBpostgresql-15-pg-tle_1.5.2-1PIGSTY~bookworm_arm64.deb
postgresql-15-pg-tle1.5.2d13.x86_64pigsty161.8 KiBpostgresql-15-pg-tle_1.5.2-1PIGSTY~trixie_amd64.deb
postgresql-15-pg-tle1.5.2d13.aarch64pigsty156.5 KiBpostgresql-15-pg-tle_1.5.2-1PIGSTY~trixie_arm64.deb
postgresql-15-pg-tle1.5.2u22.x86_64pigsty189.9 KiBpostgresql-15-pg-tle_1.5.2-1PIGSTY~jammy_amd64.deb
postgresql-15-pg-tle1.5.2u22.aarch64pigsty186.0 KiBpostgresql-15-pg-tle_1.5.2-1PIGSTY~jammy_arm64.deb
postgresql-15-pg-tle1.5.2u24.x86_64pigsty168.5 KiBpostgresql-15-pg-tle_1.5.2-1PIGSTY~noble_amd64.deb
postgresql-15-pg-tle1.5.2u24.aarch64pigsty166.2 KiBpostgresql-15-pg-tle_1.5.2-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_tle_141.5.2el8.x86_64pigsty70.0 KiBpg_tle_14-1.5.2-1PIGSTY.el8.x86_64.rpm
pg_tle_141.5.1el8.x86_64pgdg69.3 KiBpg_tle_14-1.5.1-1PGDG.rhel8.x86_64.rpm
pg_tle_141.5.0el8.x86_64pgdg69.1 KiBpg_tle_14-1.5.0-1PGDG.rhel8.x86_64.rpm
pg_tle_141.2.0el8.x86_64pgdg64.1 KiBpg_tle_14-1.2.0-1PGDG.rhel8.x86_64.rpm
pg_tle_141.5.2el8.aarch64pigsty66.5 KiBpg_tle_14-1.5.2-1PIGSTY.el8.aarch64.rpm
pg_tle_141.5.1el8.aarch64pgdg65.7 KiBpg_tle_14-1.5.1-1PGDG.rhel8.aarch64.rpm
pg_tle_141.5.0el8.aarch64pgdg65.5 KiBpg_tle_14-1.5.0-1PGDG.rhel8.aarch64.rpm
pg_tle_141.2.0el8.aarch64pgdg60.3 KiBpg_tle_14-1.2.0-1PGDG.rhel8.aarch64.rpm
pg_tle_141.5.2el9.x86_64pigsty69.9 KiBpg_tle_14-1.5.2-1PIGSTY.el9.x86_64.rpm
pg_tle_141.5.1el9.x86_64pgdg70.7 KiBpg_tle_14-1.5.1-1PGDG.rhel9.x86_64.rpm
pg_tle_141.5.0el9.x86_64pgdg70.6 KiBpg_tle_14-1.5.0-1PGDG.rhel9.x86_64.rpm
pg_tle_141.2.0el9.x86_64pgdg65.6 KiBpg_tle_14-1.2.0-1PGDG.rhel9.x86_64.rpm
pg_tle_141.5.2el9.aarch64pigsty66.5 KiBpg_tle_14-1.5.2-1PIGSTY.el9.aarch64.rpm
pg_tle_141.5.1el9.aarch64pgdg68.3 KiBpg_tle_14-1.5.1-1PGDG.rhel9.aarch64.rpm
pg_tle_141.5.0el9.aarch64pgdg68.1 KiBpg_tle_14-1.5.0-1PGDG.rhel9.aarch64.rpm
pg_tle_141.2.0el9.aarch64pgdg62.5 KiBpg_tle_14-1.2.0-1PGDG.rhel9.aarch64.rpm
pg_tle_141.5.2el10.x86_64pigsty70.2 KiBpg_tle_14-1.5.2-1PIGSTY.el10.x86_64.rpm
pg_tle_141.5.1el10.x86_64pgdg71.9 KiBpg_tle_14-1.5.1-1PGDG.rhel10.x86_64.rpm
pg_tle_141.5.2el10.aarch64pigsty67.1 KiBpg_tle_14-1.5.2-1PIGSTY.el10.aarch64.rpm
pg_tle_141.5.1el10.aarch64pgdg69.1 KiBpg_tle_14-1.5.1-1PGDG.rhel10.aarch64.rpm
postgresql-14-pg-tle1.5.2d12.x86_64pigsty162.1 KiBpostgresql-14-pg-tle_1.5.2-1PIGSTY~bookworm_amd64.deb
postgresql-14-pg-tle1.5.2d12.aarch64pigsty156.9 KiBpostgresql-14-pg-tle_1.5.2-1PIGSTY~bookworm_arm64.deb
postgresql-14-pg-tle1.5.2d13.x86_64pigsty162.1 KiBpostgresql-14-pg-tle_1.5.2-1PIGSTY~trixie_amd64.deb
postgresql-14-pg-tle1.5.2d13.aarch64pigsty157.0 KiBpostgresql-14-pg-tle_1.5.2-1PIGSTY~trixie_arm64.deb
postgresql-14-pg-tle1.5.2u22.x86_64pigsty189.9 KiBpostgresql-14-pg-tle_1.5.2-1PIGSTY~jammy_amd64.deb
postgresql-14-pg-tle1.5.2u22.aarch64pigsty186.0 KiBpostgresql-14-pg-tle_1.5.2-1PIGSTY~jammy_arm64.deb
postgresql-14-pg-tle1.5.2u24.x86_64pigsty169.3 KiBpostgresql-14-pg-tle_1.5.2-1PIGSTY~noble_amd64.deb
postgresql-14-pg-tle1.5.2u24.aarch64pigsty167.0 KiBpostgresql-14-pg-tle_1.5.2-1PIGSTY~noble_arm64.deb

Source

pig build pkg pg_tle;		# build rpm/deb

Install

Make sure PGDG and PIGSTY repo available:

pig repo add pgsql -u   # add both repo and update cache

Install this extension with pig:

pig install pg_tle;		# install via package name, for the active PG version

pig install pg_tle -v 18;   # install for PG 18
pig install pg_tle -v 17;   # install for PG 17
pig install pg_tle -v 16;   # install for PG 16
pig install pg_tle -v 15;   # install for PG 15
pig install pg_tle -v 14;   # install for PG 14

Config this extension to shared_preload_libraries:

shared_preload_libraries = 'pg_tle';

Create this extension with:

CREATE EXTENSION pg_tle;

Usage

pg_tle: Trusted Language Extensions for PostgreSQL

pg_tle lets you create and manage PostgreSQL extensions using trusted languages (SQL, PL/pgSQL, PL/v8, PL/Perl) without requiring filesystem access or server restarts.

Add pg_tle to shared_preload_libraries in postgresql.conf:

shared_preload_libraries = 'pg_tle'

Install a TLE Extension

SELECT pgtle.install_extension(
  'my_extension',      -- extension name
  '1.0',               -- version
  'My custom extension', -- description
  $_pgtle_$
    CREATE FUNCTION my_func() RETURNS text AS $$
      SELECT 'hello from my_extension';
    $$ LANGUAGE SQL;
  $_pgtle_$
);

Manage Extension Versions

-- Add an upgrade path
SELECT pgtle.install_update_path(
  'my_extension',  -- extension name
  '1.0',           -- from version
  '1.1',           -- to version
  $_pgtle_$
    CREATE OR REPLACE FUNCTION my_func() RETURNS text AS $$
      SELECT 'hello from my_extension v1.1';
    $$ LANGUAGE SQL;
  $_pgtle_$
);

-- Set default version
SELECT pgtle.set_default_version('my_extension', '1.1');

Use the TLE Extension

CREATE EXTENSION my_extension;
SELECT my_func();  -- 'hello from my_extension'
ALTER EXTENSION my_extension UPDATE TO '1.1';

Remove a TLE Extension

DROP EXTENSION my_extension;
SELECT pgtle.uninstall_extension('my_extension');

Hooks and Features

Register custom hooks (e.g., password check hooks):

SELECT pgtle.register_feature('my_password_check', 'passcheck');
SELECT pgtle.unregister_feature('my_password_check', 'passcheck');

Key Functions

FunctionDescription
pgtle.install_extension()Install a new TLE extension
pgtle.install_update_path()Add an upgrade path between versions
pgtle.set_default_version()Set the default version for an extension
pgtle.uninstall_extension()Remove a TLE extension
pgtle.register_feature()Register a feature hook
pgtle.unregister_feature()Unregister a feature hook
pgtle.available_extensions()List available TLE extensions
pgtle.available_extension_versions()List available versions
Last updated on