Add a \setenv command to psql.
Andrew Dunstan <andrew@dunslane.net>
Add a \setenv command to psql. This can be used to set (or unset) environment variables that will affect programs called by psql (such as the PAGER), probably most usefully in a .psqlrc file. Andrew Dunstan, reviewed by Josh Kupershmidt.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/psql-ref.sgml | modified | +18 −0 |
| src/bin/psql/command.c | modified | +45 −0 |
| src/bin/psql/help.c | modified | +2 −1 |