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
------
REL9_1_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/14fa9805604e829d96531581e71b45ddfddb4fc8
Modified Files
--------------
src/bin/psql/help.c | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)