Revert "nixos/postgresql: add docs about procedural languages"

This reverts commit 0bc099abd6.
This commit is contained in:
Wolfgang Walther 2025-03-25 14:58:02 +01:00
parent 2bb7458042
commit a4006e4970
No known key found for this signature in database
GPG key ID: B39893FA5F65CAE1
2 changed files with 0 additions and 34 deletions

View file

@ -327,37 +327,6 @@ self: super: {
}
```
## Procedural Languages {#module-services-postgres-pls}
PostgreSQL ships the additional procedural languages PL/Perl, PL/Python and PL/Tcl as extensions.
They are packaged as plugins and can be made available in the same way as external extensions:
```nix
{
services.postgresql.extensions = ps: with ps; [
plperl
plpython3
pltcl
];
}
```
Each procedural language plugin provides a `.withPackages` helper to make language specific packages available at run-time.
For example, to make `python3Packages.base58` available:
```nix
{
services.postgresql.extensions = pgps: with pgps; [
(plpython3.withPackages (pyps: with pyps; [ base58 ]))
];
}
```
This currently works for:
- `plperl` by re-using `perl.withPackages`
- `plpython3` by re-using `python3.withPackages`
- `plr` by exposing `rPackages`
- `pltcl` by exposing `tclPackages`
## JIT (Just-In-Time compilation) {#module-services-postgres-jit}
[JIT](https://www.postgresql.org/docs/current/jit-reason.html)-support in the PostgreSQL package