pgsql: Only superuser can set sslcert/sslkey in postgres_fdw user mappi

Started by Andrew Dunstanover 6 years ago1 messagescomitters
Jump to latest
#1Andrew Dunstan
andrew@dunslane.net

Only superuser can set sslcert/sslkey in postgres_fdw user mappings

Othrwise there is a security risk.

Discussion: /messages/by-id/20200109103014.GA4192@msg.df7cb.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/cebf9d6e6ee13cbf9f1a91ec633cf96780ffc985

Modified Files
--------------
contrib/postgres_fdw/expected/postgres_fdw.out | 9 +++++++++
contrib/postgres_fdw/option.c | 10 ++++++++++
contrib/postgres_fdw/sql/postgres_fdw.sql | 7 +++++++
doc/src/sgml/postgres-fdw.sgml | 6 +++++-
4 files changed, 31 insertions(+), 1 deletion(-)