]> git.ipfire.org Git - thirdparty/postgresql.git/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:23 +0000 (19:20 +0200)
commit14fa9805604e829d96531581e71b45ddfddb4fc8
tree4cb28521d0b7068603b96e859b3bf27a0f908857
parentd4c78c1811d14b14f47f3611bf2c2c1a35817988
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