mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +03:00
Revert "nixos/postgresql: add docs about procedural languages"
This reverts commit 0bc099abd6
.
This commit is contained in:
parent
2bb7458042
commit
a4006e4970
2 changed files with 0 additions and 34 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue