Don't pass NULL to fprintf, if not currently connected to a database.
Backpatch all the way to 8.3. Fixes bug #7811, per report and diagnosis by
Meng Qingzhong.
Branch
------
REL8_4_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/20df7e9053799ee80e4e97088c5398dbdd76196f
Modified Files
--------------
src/bin/psql/help.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)