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 24926.1275056342@sss.pgh.pa.us
Whole thread Raw
In response to Re: [9.1] pg_stat_get_backend_server_addr  (Bruce Momjian <bruce@momjian.us>)
Responses Re: [9.1] pg_stat_get_backend_server_addr
List pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> ... indeed.  Is it worth burdening the pg_stats mechanism with this?
>> The use case seems vanishingly thin.

> I am confused how this is different from inet_server_addr() and
> inet_server_port().  

I think the point is to let someone find out *from another session*
which server port number a particular session is using.  I fail to see
a significant use case for that, though.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: functional call named notation clashes with SQL feature
Next
From: Bruce Momjian
Date:
Subject: Re: [9.1] pg_stat_get_backend_server_addr