]> 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:42 +0000 (19:20 +0200)
commit63b0b397c7781b429eda1f4e294dce4cdf12cac7
treedc5dd2e193f6c473ce9337d37292fc8e4e1026dd
parent0af83bd53020123b77f19eab18f7763dc8617430
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