]> 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:23:47 +0000 (19:23 +0200)
commitb04ce529fd38b1d00492d03acf896f9293b6fb28
tree8a5312e1e3f84cb5c6f107efa102173835279deb
parent7ac5760fa283bc090c25e4ea495a0d2bb41db7b5
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