Add psql PROMPT variable showing the pid of the connected to backend.
The substitution for the pid is %p.
Author: Julien Rouhaud
Discussion: 116262CF971C844FB6E793F8809B51C6E99D48(at)BPXM02GP(dot)gisp(dot)nec(dot)co(dot)jp
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/275f05c990c46f8dfe3cb46a3279521bda9e9e27
Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml | 7 +++++++
src/bin/psql/prompt.c | 10 ++++++++++
2 files changed, 17 insertions(+)