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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Only superuser can set sslcert/sslkey in postgres_fdw user mappi
Date: 2020-01-13 07:55:44
Message-ID: E1iquZc-0002Wb-MU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-01-13 08:59:22 pgsql: Fix comment in heapam.c
Previous Message Amit Kapila 2020-01-13 02:33:41 pgsql: Delete empty pages in each pass during GIST VACUUM.