pgsql: Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5.
Date
Msg-id E1mcth8-0002nf-UM@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5.

ldapsearch's deprecated -h/-p arguments were removed, need to use -H now -
which has been around for over 20 years.

As perltidy insists on reflowing the parameters anyway, change order and
"phrasing" to yield a less confusing layout (per suggestion from Tom Lane).

Discussion: https://postgr.es/m/20211009233850.wvr6apcrw2ai6cnj@alap3.anarazel.de
Backpatch: 11-, where the tests were added.

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9aef4015573905ff8edec19e38c47ff820277153

Modified Files
--------------
src/test/ldap/t/001_auth.pl | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5.
Next
From: Andres Freund
Date:
Subject: pgsql: Adapt src/test/ldap/t/001_auth.pl to work with openldap 2.5.