Thread: pgsql: Add psql \ev and \sv commands for editing and showing view defin

Add psql \ev and \sv commands for editing and showing view definitions.

These are basically just like the \ef and \sf commands for functions.

Petr Korobeinikov, reviewed by Jeevan Chalke, some changes by me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8eb6407aaeb6cbd972839e356b436bb698f51cff

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml |   55 ++++-
src/bin/psql/command.c         |  451 ++++++++++++++++++++++++++++++++--------
src/bin/psql/help.c            |    6 +-
src/bin/psql/tab-complete.c    |   12 +-
4 files changed, 424 insertions(+), 100 deletions(-)