Skip site navigation (1) Skip section navigation (2)

pgsql: Add a \setenv command to psql.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add a \setenv command to psql.
Date: 2011-12-04 16:48:41
Message-ID: E1RXFF3-0004HH-F3@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e6d9e2106f0dda459063126d07967df197b7b5fe

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml |   18 ++++++++++++++++
src/bin/psql/command.c         |   45 ++++++++++++++++++++++++++++++++++++++++
src/bin/psql/help.c            |    3 +-
3 files changed, 65 insertions(+), 1 deletions(-)

pgsql-committers by date

Next:From: Josh BerkusDate: 2011-12-05 00:20:58
Subject: Re: pgsql: Add file-fdw documentation example.
Previous:From: Bruce MomjianDate: 2011-12-04 16:10:27
Subject: Re: pgsql: Add file-fdw documentation example.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group