| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Add display of oprcode (the underlying function's name) to psql' |
| Date: | 2014-01-16 20:29:48 |
| Message-ID: | E1W3tZU-0001Ml-Fw@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Add display of oprcode (the underlying function's name) to psql's \do+.
The + modifier of \do didn't use to do anything, but now it adds an oprcode
column. This is useful both as an additional form of documentation of what
the operator does, and to save a step when finding out properties of the
underlying function.
Marko Tiikkaja, reviewed by Rushabh Lathia, adjusted a bit by me
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/515d2c596c1b6b95d020d14edaab0d233d5d9ea9
Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 18 +++++++++++-------
src/bin/psql/command.c | 2 +-
src/bin/psql/describe.c | 22 +++++++++++++++-------
src/bin/psql/describe.h | 2 +-
4 files changed, 28 insertions(+), 16 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alvaro Herrera | 2014-01-16 21:07:48 | pgsql: Split ecpg_execute() in constituent parts |
| Previous Message | Alvaro Herrera | 2014-01-16 19:52:26 | pgsql: Split ECPGdo() in constituent parts |