-
- Downloads
Fix pg_hba.conf matching so that replication connections only match records
with database = replication. The previous coding would allow them to match ordinary records too, but that seems like a recipe for security breaches. Improve the messages associated with no-such-pg_hba.conf entry to report replication connections as such, since that's now a critical aspect of whether the connection matches. Make some cursory improvements in the related documentation, too.
Showing
- doc/src/sgml/client-auth.sgml 10 additions, 8 deletionsdoc/src/sgml/client-auth.sgml
- doc/src/sgml/high-availability.sgml 21 additions, 24 deletionsdoc/src/sgml/high-availability.sgml
- doc/src/sgml/recovery-config.sgml 27 additions, 18 deletionsdoc/src/sgml/recovery-config.sgml
- src/backend/libpq/auth.c 75 additions, 30 deletionssrc/backend/libpq/auth.c
- src/backend/libpq/hba.c 11 additions, 6 deletionssrc/backend/libpq/hba.c
- src/backend/replication/libpqwalreceiver/libpqwalreceiver.c 2 additions, 2 deletionssrc/backend/replication/libpqwalreceiver/libpqwalreceiver.c
Loading
Please register or sign in to comment