Re: [HACKERS] List of hostaddrs not supported - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] List of hostaddrs not supported
Date
Msg-id 10984.1496929750@sss.pgh.pa.us
Whole thread Raw
In response to [HACKERS] List of hostaddrs not supported  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-hackers
Heikki Linnakangas <hlinnaka@iki.fi> writes:
> So, this is all quite confusing. I think we should support a list of 
> hostaddrs, to go with the list of hostnames. It seems like a strange 
> omission.

+1, if it's not too large a patch.  It could be argued that this is
a new feature and should wait for v11, but the behavior you describe
is weird enough that it could also be called a bug fix.

If it seems too hard to fix fully for v10, maybe we could insert
some checking code that just counts the number of entries in the
two lists and insists they match (which we'd keep later), plus
some code to reject >1 hostaddr (which would eventually go away).
        regards, tom lane



pgsql-hackers by date:

Previous
From: Dmitriy Sarafannikov
Date:
Subject: Re: [HACKERS] Broken hint bits (freeze)
Next
From: Amit Kapila
Date:
Subject: Re: [HACKERS] Broken hint bits (freeze)