From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Change EDITOR_LINENUMBER_SWITCH to an environment variable |
Date: | 2011-07-23 21:50:41 |
Message-ID: | E1Qkk5p-0004jm-Qd@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Change EDITOR_LINENUMBER_SWITCH to an environment variable
Also change "switch" to "arg" because "switch" is a bit of a sloppy
term. So the environment variable is called
PSQL_EDITOR_LINENUMBER_ARG. Set "+" as hardcoded default value on
Unix (since "vi" is the hardcoded default editor), so many users won't
have to configure this at all. Move the documentation around a bit to
centralize the editor configuration under environment variables,
rather than repeating bits of it under every backslash command that
invokes an editor.
Branch
------
REL9_1_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/70a488878f97eeec09356054fc161b9f8e914257
Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 103 ++++++++++++++++++++++-----------------
doc/src/sgml/release-9.1.sgml | 2 +-
src/bin/psql/command.c | 19 ++++---
src/bin/psql/settings.h | 2 +
4 files changed, 72 insertions(+), 54 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2011-07-23 22:53:49 | Re: [COMMITTERS] pgsql: Looks like we can't declare getpeereid on Windows anyway. |
Previous Message | Peter Eisentraut | 2011-07-23 21:50:34 | pgsql: Change EDITOR_LINENUMBER_SWITCH to an environment variable |