Have \conninfo mention the port even for local sockets.
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.
Showing
想要评论请 注册 或 登录