File: CONFIGURATION.md

package info (click to toggle)
pljs 1.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,704 kB
  • sloc: ansic: 69,356; javascript: 5,408; sql: 878; makefile: 443; sh: 123
file content (9 lines) | stat: -rw-r--r-- 883 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# PLJS Configuration Options

PLJS provides configuration options that are available either with the `SET` command in Postgres, or by adding them to the `postgresql.conf` file.

| Setting                  | Description                                                                   | Default                       |
| ------------------------ | ----------------------------------------------------------------------------- | ----------------------------- |
| `pljs.execution_timeout` | Execution timeout in seconds before the JavaScript runtime is interrupted     | `300` (Range of `1`-`65536`)  |
| `pljs.memory_limit`      | Memory limit of the JavaScript engone in `MB`                                 | `256` (Range of `256`-`3096`) |
| `pljs.start_proc`        | A Function Name to be called when the JavaScript engine is first initialized` |                               |