Re: [9.1] pg_stat_get_backend_server_addr - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [9.1] pg_stat_get_backend_server_addr
Date
Msg-id 6732.1274989492@sss.pgh.pa.us
Whole thread Raw
In response to [9.1] pg_stat_get_backend_server_addr  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [9.1] pg_stat_get_backend_server_addr
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> There are functions pg_stat_get_backend_client_addr and
> pg_stat_get_backend_client_port, which are exposed through the
> pg_stat_activity view, but there is no straightforward way to get the
> server-side address and port of a connection.  This is obviously much
> less commonly needed than the client information,

... indeed.  Is it worth burdening the pg_stats mechanism with this?
The use case seems vanishingly thin.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Idea for getting rid of VACUUM FREEZE on cold pages
Next
From: Tom Lane
Date:
Subject: Re: JSON manipulation functions