aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-12-20 13:17:58 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2021-12-20 13:17:58 -0500
commit33d3eeadb21d2268104840cfef6bc2226ddfc680 (patch)
treecdbb296b2e765b889084f9d4fd32d4e50c23ae90 /contrib/postgres_fdw/postgres_fdw.h
parent911588a3f816d875261d8f7d89e2517978831cd5 (diff)
downloadpostgresql-33d3eeadb21d2268104840cfef6bc2226ddfc680.tar.gz
postgresql-33d3eeadb21d2268104840cfef6bc2226ddfc680.zip
Add a \getenv command to psql.
\getenv fetches the value of an environment variable into a psql variable. This is the inverse of the \setenv command that was added over ten years ago. We'd not seen a compelling use-case for \getenv at the time, but upcoming regression test refactoring provides a sufficient reason to add it now. Discussion: https://postgr.es/m/1655733.1639871614@sss.pgh.pa.us
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.h')
0 files changed, 0 insertions, 0 deletions