libpq: Add pqReleaseConnHosts function
Alvaro Herrera <alvherre@alvh.no-ip.org>
libpq: Add pqReleaseConnHosts function In a follow up commit we'll need to free this connhost field in a function defined in fe-cancel.c, so here we extract the logic to a dedicated extern function. Author: Jelte Fennema-Nio <jelte.fennema@microsoft.com> Discussion: https://postgr.es/m/AM5PR83MB0178D3B31CA1B6EC4A8ECC42F7529@AM5PR83MB0178.EURPRD83.prod.outlook.com
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-connect.c | modified | +26 −13 |
| src/interfaces/libpq/libpq-int.h | modified | +1 −0 |
Discussion
- Add non-blocking version of PQcancel 146 messages · 2022-01-12 → 2024-12-23