Thread: pgsql: Don't pass NULL to fprintf, if not currently connected to a data

pgsql: Don't pass NULL to fprintf, if not currently connected to a data

From
Heikki Linnakangas
Date:
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_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/bb9a9a9d37f664c2dd7d715b25058e8bc21f99b0

Modified Files
--------------
src/bin/psql/help.c |    7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)