Add an officially exported libpq function to encrypt passwords, and
Tom Lane <tgl@sss.pgh.pa.us>
Add an officially exported libpq function to encrypt passwords, and modify the previous \password patch to use it instead of depending on a not-officially-exported function. Per discussion.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/libpq.sgml | modified | +35 −1 |
| src/bin/psql/command.c | modified | +7 −6 |
| src/bin/scripts/createuser.c | modified | +6 −4 |
| src/interfaces/libpq/exports.txt | modified | +2 −1 |
| src/interfaces/libpq/fe-auth.c | modified | +38 −1 |
| src/interfaces/libpq/libpq-fe.h | modified | +5 −1 |