postgresql/contrib/postgres_fdw
Andrew Dunstan 6136e94dcb Superuser can permit passwordless connections on postgres_fdw
Currently postgres_fdw doesn't permit a non-superuser to connect to a
foreign server without specifying a password, or to use an
authentication mechanism that doesn't use the password. This is to avoid
using the settings and identity of the user running Postgres.

However, this doesn't make sense for all authentication methods. We
therefore allow a superuser to set "password_required 'false'" for user
mappings for the postgres_fdw. The superuser must ensure that the
foreign server won't try to rely solely on the server identity (e.g.
trust, peer, ident) or use an authentication mechanism that relies on the
password settings (e.g. md5, scram-sha-256).

This feature is a prelude to better support for sslcert and sslkey
settings in user mappings.

Author: Craig Ringer.
Discussion: https://postgr.es/m/075135da-545c-f958-fed0-5dcb462d6dae@2ndQuadrant.com
2019-12-20 16:23:34 +10:30
..
expected Superuser can permit passwordless connections on postgres_fdw 2019-12-20 16:23:34 +10:30
sql Superuser can permit passwordless connections on postgres_fdw 2019-12-20 16:23:34 +10:30
.gitignore Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
connection.c Superuser can permit passwordless connections on postgres_fdw 2019-12-20 16:23:34 +10:30
deparse.c Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
option.c Superuser can permit passwordless connections on postgres_fdw 2019-12-20 16:23:34 +10:30
postgres_fdw--1.0.sql Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.c Further sync postgres_fdw's "Relations" output with the rest of EXPLAIN. 2019-12-03 12:25:56 -05:00
postgres_fdw.control Add postgres_fdw contrib module. 2013-02-21 05:27:16 -05:00
postgres_fdw.h Make postgres_fdw's "Relations" output agree with the rest of EXPLAIN. 2019-12-02 16:31:03 -05:00
shippable.c Make the order of the header file includes consistent in contrib modules. 2019-10-24 08:05:34 +05:30