> I would propose to print instead:
>
> You are connected to database "rhaas" via local socket as user "rhaas".
One minor quibble here; you lose the ability to see which pg instance you're running on if there are multiple ones running on different local sockets, so maybe either the port or the socket path should show up here still.
Regards,
David
--
David Christensen
End Point Corporation
david(at)endpoint(dot)com