]> 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:25:53 +0000 (19:25 +0200)
commit20df7e9053799ee80e4e97088c5398dbdd76196f
tree66ab6613b70f14080745c5d5f555c207498b827e
parente2120d756885ce03e7b75b6aec2e93a63ce68a85
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