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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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(-)

Browse pgsql-committers by date

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