diff options
author | Bruce Momjian <bruce@momjian.us> | 2018-02-01 08:30:43 -0500 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2018-02-01 08:30:43 -0500 |
commit | df9f599bc6f14307252ac75ea1dc997310da5ba6 (patch) | |
tree | b34920fa4e643fe7009873b814008bd5f7b6220f /src/backend/access/gist/gistbuild.c | |
parent | eab30cc6b55dc03589bda13bc76b12d7142d5686 (diff) | |
download | postgresql-df9f599bc6f14307252ac75ea1dc997310da5ba6.tar.gz postgresql-df9f599bc6f14307252ac75ea1dc997310da5ba6.zip |
psql: Add quit/help behavior/hint, for other tool portability
Issuing 'quit'/'exit' in an empty psql buffer exits psql. Issuing
'quit'/'exit' in a non-empty psql buffer alone on a line with no prefix
whitespace issues a hint on how to exit.
Also add similar 'help' hints for 'help' in a non-empty psql buffer.
Reported-by: Everaldo Canuto
Discussion: https://postgr.es/m/flat/CALVFHFb-C_5_94hueWg6Dd0zu7TfbpT7hzsh9Zf0DEDOSaAnfA%40mail.gmail.com
Author: original author Robert Haas, modified by me
Diffstat (limited to 'src/backend/access/gist/gistbuild.c')
0 files changed, 0 insertions, 0 deletions