"Gnanakumar" <gnanam(at)zoniac(dot)com> writes:
> Does PostgreSQL establish working UDP sockets on some specific defined port
> or it chooses the port randomly?
The stats collector socket is opened on whatever port bind() chooses to
assign.
regards, tom lane