-
- Downloads
libpq: Allow connection strings and URIs to specify multiple hosts.
It's also possible to specify a separate port for each host. Previously, we'd loop over every address returned by looking up the host name; now, we'll try every address for every host name. Patch by me. Victor Wagner wrote an earlier patch for this feature, which I read, but I didn't use any of his code. Review by Mithun Cy.
Showing
- doc/src/sgml/libpq.sgml 29 additions, 9 deletionsdoc/src/sgml/libpq.sgml
- src/interfaces/libpq/fe-auth.c 17 additions, 11 deletionssrc/interfaces/libpq/fe-auth.c
- src/interfaces/libpq/fe-connect.c 425 additions, 182 deletionssrc/interfaces/libpq/fe-connect.c
- src/interfaces/libpq/libpq-int.h 35 additions, 6 deletionssrc/interfaces/libpq/libpq-int.h
Loading
Please register or sign in to comment