pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Be more careful about port selection in src/test/ldap/.
3+ messages / 1 participants
[nested] [flat]

* pgsql: Be more careful about port selection in src/test/ldap/.
@ 2019-09-09 18:22  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2019-09-09 18:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Be more careful about port selection in src/test/ldap/.

Don't just assume that the next port is free; it might not be, or
if we're really unlucky it might even be out of the TCP range.
Do it honestly with two get_free_port() calls instead.

This is surely a pretty low-probability problem, but I think it
explains a buildfarm failure seen today, so let's fix it.

Back-patch to v11 where this script was added.

Discussion: https://postgr.es/m/25124.1568052346@sss.pgh.pa.us

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8459f908c6166e0249c310a03a3d1265ff7b7972

Modified Files
--------------
src/test/ldap/t/001_auth.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Be more careful about port selection in src/test/ldap/.
@ 2019-09-09 18:22  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2019-09-09 18:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Be more careful about port selection in src/test/ldap/.

Don't just assume that the next port is free; it might not be, or
if we're really unlucky it might even be out of the TCP range.
Do it honestly with two get_free_port() calls instead.

This is surely a pretty low-probability problem, but I think it
explains a buildfarm failure seen today, so let's fix it.

Back-patch to v11 where this script was added.

Discussion: https://postgr.es/m/25124.1568052346@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3146f5257f16d34c95163974f42a13d99141b977

Modified Files
--------------
src/test/ldap/t/001_auth.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* pgsql: Be more careful about port selection in src/test/ldap/.
@ 2019-09-09 18:22  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 3+ messages in thread

From: Tom Lane @ 2019-09-09 18:22 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Be more careful about port selection in src/test/ldap/.

Don't just assume that the next port is free; it might not be, or
if we're really unlucky it might even be out of the TCP range.
Do it honestly with two get_free_port() calls instead.

This is surely a pretty low-probability problem, but I think it
explains a buildfarm failure seen today, so let's fix it.

Back-patch to v11 where this script was added.

Discussion: https://postgr.es/m/25124.1568052346@sss.pgh.pa.us

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5348e22b969f6af8bd4400256a6a190721a01f34

Modified Files
--------------
src/test/ldap/t/001_auth.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2019-09-09 18:22 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-09-09 18:22 pgsql: Be more careful about port selection in src/test/ldap/. Tom Lane <tgl@sss.pgh.pa.us>
2019-09-09 18:22 pgsql: Be more careful about port selection in src/test/ldap/. Tom Lane <tgl@sss.pgh.pa.us>
2019-09-09 18:22 pgsql: Be more careful about port selection in src/test/ldap/. Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox