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

From Heikki Linnakangas
Subject pgsql: Don't pass NULL to fprintf, if not currently connected to a data
Date
Msg-id E1TvAHk-0004P9-K7@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_2_STABLE

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

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


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Don't pass NULL to fprintf, if not currently connected to a data
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: On second thought, use an empty string instead of "none" when no