envvar
Fetch the value of an environment variable
Repository
theory/pg-envvar
https://github.com/theory/pg-envvar
Source
pg-envvar-1.0.1.tar.gz
pg-envvar-1.0.1.tar.gz
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
pg_envvar | 1.0.1 | UTIL | PostgreSQL | C |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 4270 | envvar | No | Yes | No | Yes | No | No | - |
| Related | external_file fio omni_os byteamagic floatfile file_fdw basic_archive basebackup_to_shell aws_s3 |
|---|
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.0.1 | 1817161514 | pg_envvar | - |
| RPM | PIGSTY | 1.0.1 | 1817161514 | pg_envvar_$v | - |
| DEB | PIGSTY | 1.0.1 | 1817161514 | postgresql-$v-pg-envvar | - |
Build
You can build the RPM / DEB packages for pg_envvar using pig build:
Install
You can install pg_envvar directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Install
pig
dnf
apt
Create Extension:
Usage
Provides a single function to read environment variables from the database server.
Function
Returns the value of the specified environment variable set on the database server, or NULL if not set.
Examples
Schema Support
You can install the extension into a specific schema:
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)