Re: [PATCH] Improve code coverage of network address functions - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: [PATCH] Improve code coverage of network address functions
Date
Msg-id CAOYmi+k2X_YzGxN=+d377++Na-6RgzOv2hiD+zyMymAMRuicKA@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Improve code coverage of network address functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] Improve code coverage of network address functions
List pgsql-hackers
On Mon, Jan 20, 2025 at 11:35 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> To do anything interesting, the test would have to make the server
> open a TCP port, which would be rightly seen as a security hazard.
> So it'd have to be confined to a not-run-by-default test case.

Yeah.

> Maybe we could add this to the existing src/test/ssl/ tests,
> which already deal with that hazard?

That seems okay in the short term. (But it certainly highlights our
lack of a "PG_TEST_EXTRA=loopback-is-fine" mode...)

--Jacob



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: proposal: schema variables
Next
From: Tom Lane
Date:
Subject: Re: [PATCH] Improve code coverage of network address functions