Re: Feature: Use DNS SRV records for connecting - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Feature: Use DNS SRV records for connecting
Date
Msg-id 7386.1565707387@sss.pgh.pa.us
Whole thread Raw
In response to Feature: Use DNS SRV records for connecting  (Feike Steenbergen <feikesteenbergen@gmail.com>)
Responses Re: Feature: Use DNS SRV records for connecting  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Feike Steenbergen <feikesteenbergen@gmail.com> writes:
> I'd like to get some feedback on whether or not implementing a DNS SRV feature
> for connecting to PostgreSQL would be desirable/useful.

How would we get at that data without writing our own DNS client?
(AFAIK, our existing DNS interactions are all handled by getnameinfo()
or other library-supplied functions.)

Maybe that'd be worth doing, but it sounds like a lot of work and a
lot of new code to maintain, relative to the value of the feature.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Some memory not freed at the exit of RelationBuildPartitionDesc()
Next
From: Konstantin Knizhnik
Date:
Subject: Re: Built-in connection pooler