-
- Downloads
Allow password file name to be specified as a libpq connection parameter.
Formerly an alternate password file could only be selected via the environment variable PGPASSFILE; now it can also be selected via a new connection parameter "passfile", corresponding to the conventions for most other connection parameters. There was some concern about this creating a security weakness, but it was agreed that that argument was pretty thin, and there are clear use-cases for handling password files this way. Julian Markwort, reviewed by Fabien Coelho, some adjustments by me Discussion: https://postgr.es/m/a4b4f4f1-7b58-a0e8-5268-5f7db8e8ccaa@uni-muenster.de
Showing
- doc/src/sgml/libpq.sgml 25 additions, 10 deletionsdoc/src/sgml/libpq.sgml
- src/interfaces/libpq/fe-auth.c 3 additions, 2 deletionssrc/interfaces/libpq/fe-auth.c
- src/interfaces/libpq/fe-connect.c 51 additions, 49 deletionssrc/interfaces/libpq/fe-connect.c
- src/interfaces/libpq/libpq-int.h 2 additions, 1 deletionsrc/interfaces/libpq/libpq-int.h
Loading
Please register or sign in to comment