Only superuser can set sslcert/sslkey in postgres_fdw user mappings
Andrew Dunstan <andrew@dunslane.net>
Only superuser can set sslcert/sslkey in postgres_fdw user mappings Othrwise there is a security risk. Discussion: https://postgr.es/m/20200109103014.GA4192@msg.df7cb.de
Files
| Path | Change | +/− |
|---|---|---|
| contrib/postgres_fdw/expected/postgres_fdw.out | modified | +9 −0 |
| contrib/postgres_fdw/option.c | modified | +10 −0 |
| contrib/postgres_fdw/sql/postgres_fdw.sql | modified | +7 −0 |
| doc/src/sgml/postgres-fdw.sgml | modified | +5 −1 |
Documentation touched
Discussion
- Allow 'sslkey' and 'sslcert' in postgres_fdw user mappings 14 messages · 2019-10-31 → 2020-01-20