• Noah Misch's avatar
    Fix null pointer dereference in "\c" psql command. · e135c3d9
    Noah Misch authored
    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).
    e135c3d9
command.c 80.6 KB