Skip to content
Snippets Groups Projects
  • Robert Haas's avatar
    8ceb68b0
    Have \conninfo mention the port even for local sockets. · 8ceb68b0
    Robert Haas authored
    Per discussion with David Christensen, there can be multiple
    instances of PG accessible via local sockets, and you need the port
    to see which one you're actually connected to.  David's original
    patch worked this way, but I inadvertently ripped it out during
    commit.
    8ceb68b0
    History
    Have \conninfo mention the port even for local sockets.
    Robert Haas authored
    Per discussion with David Christensen, there can be multiple
    instances of PG accessible via local sockets, and you need the port
    to see which one you're actually connected to.  David's original
    patch worked this way, but I inadvertently ripped it out during
    commit.