]> granicus.if.org Git - postgresql/commit
Add a \setenv command to psql.
authorAndrew Dunstan <andrew@dunslane.net>
Sun, 4 Dec 2011 16:43:38 +0000 (11:43 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Sun, 4 Dec 2011 16:43:38 +0000 (11:43 -0500)
commite6d9e2106f0dda459063126d07967df197b7b5fe
tree999db9e6c8f70002d226ecab964b405f238250af
parenteb06416ba44ccbf3fe03a47739d9da4e4de42ced
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.
doc/src/sgml/ref/psql-ref.sgml
src/bin/psql/command.c
src/bin/psql/help.c