diff options
author | Noah Misch <noah@leadboat.com> | 2015-07-08 20:44:21 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2015-07-08 20:44:25 -0400 |
commit | fb990ce6c7d99d329843e5d70d4cdaf8d0825b38 (patch) | |
tree | ee0c0f8830fb21be75b2fe2fa2b252646ecf9382 /src/backend/utils/init/postinit.c | |
parent | 080c4dab3d9575449b81604051b160597cfd55c3 (diff) | |
download | postgresql-fb990ce6c7d99d329843e5d70d4cdaf8d0825b38.tar.gz postgresql-fb990ce6c7d99d329843e5d70d4cdaf8d0825b38.zip |
Fix null pointer dereference in "\c" psql command.
The psql crash happened when no current connection existed. (The second
new check is optional given today's undocumented NULL argument handling
in PQhost() etc.) Back-patch to 9.0 (all supported versions).
Diffstat (limited to 'src/backend/utils/init/postinit.c')
0 files changed, 0 insertions, 0 deletions