]> granicus.if.org Git - postgresql/commit
Don't pass NULL to fprintf, if not currently connected to a database.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 15 Jan 2013 16:54:03 +0000 (18:54 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 15 Jan 2013 17:20:15 +0000 (19:20 +0200)
commitee0ef989f38c1ac482673766636ba89940977913
tree8ee121fc6b10e89c7535524b2e54231423e07f0f
parent0471b013aab87ebfbb767e9456c7b619d5c2b9d3
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.
src/bin/psql/help.c