pg_tle
pg_tle : Trusted Language Extensions for PostgreSQL
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 3000 | pg_tle | pg_tle | 1.5.3 |
LANG | Apache-2.0 | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --sLd-- | No | Yes | Yes | Yes | no | no |
| Relationships | |
|---|---|
| Schemas | pgtle |
| See Also | plv8 pljs pgwasm pllua pg_extension_base pgextwlist pg_readme |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.5.3 |
18 17 16 15 14 | pg_tle |
- |
| RPM | PIGSTY | 1.5.3 |
18 17 16 15 14 | pg_tle_$v |
- |
| DEB | PIGSTY | 1.5.3 |
18 17 16 15 14 | postgresql-$v-pg-tle |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 |
| el8.aarch64 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 |
| el9.x86_64 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 |
| el9.aarch64 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 |
| el10.x86_64 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 |
| el10.aarch64 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 | PGDG 1.5.3 |
| 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 |
| u26.x86_64 | PIGSTY 1.5.2 | PIGSTY 1.5.2 | PIGSTY 1.5.2 | PIGSTY 1.5.2 | PIGSTY 1.5.2 |
| u26.aarch64 | PIGSTY 1.5.2 | PIGSTY 1.5.2 | PIGSTY 1.5.2 | PIGSTY 1.5.2 | PIGSTY 1.5.2 |
Source
github.com/aws/pg_tle
pg_tle-1.5.3.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Config this extension to shared_preload_libraries:
Create this extension with:
Usage
Sources:
pg_tle 1.5.3 manages extensions written in trusted PostgreSQL languages. Native installation needs shared preload and a server restart; subsequent TLE definitions are stored in the database. Upstream documents PostgreSQL 12 through 19 Beta 4.
Core Workflow
Operational Boundaries
pgtle.install_extension() stores an extension definition; CREATE EXTENSION enables it in a database. pgtle.install_update_path() and pgtle.set_default_version() manage versions, while pgtle.available_extensions() lists definitions. pgtle.set_extension_schema() sets schema metadata for a managed extension in 1.5.3, which also tightens identifier validation. TLE administration is restricted through pgtle_admin; executing an installed extension still follows PostgreSQL language and object privileges. Dropping an installed extension and uninstalling its TLE definition are separate operations. Only use trusted extension code and review dependencies and upgrade SQL.