Re: Update LDAP Protocol in fe-connect.c to v3

pavel seleznev <pavel.seleznev@gmail.com>

From: Pavel Seleznev <pavel.seleznev@gmail.com>
To: pgsql-hackers@lists.postgresql.org
Cc: Andrew Jackson <andrewjackson947@gmail.com>
Date: 2025-05-15T12:54:32Z
Lists: pgsql-hackers
I applied your patch. I ran extended application tests relative to vanilla ones, which include various scenarios of working with LDAP and I think that we can safely apply the patch in the PG18.

I did not see the need for additional LDAP tests, since compatibility is provided by the LDAP library itself,  and not by the Postgres code. Also  protocol version 3 has been published for quite a long time (more than 20 years) and real use by clients is through version 3

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Add TAP tests for LDAP connection parameter lookup

  2. libpq: Set LDAP protocol version 3