Files
patroni/patroni
Feike Steenbergen f98f56af41 Clear environment of PostgreSQL
Environment variables available to the postmaster can be examined
by non-superusers (e.g. plperl is trusted, yet you can show the environment).

In some environments secrets may be written in environment variables.
Commit 9744019341 introduced the ability to
specify the full Patroni configuration as an environment variable,
PATRONI_CONFIGURATION.

PATRONI_CONFIGURATION will by definition contain secrets, the passwords for superuser,
replcation user etc.

We therefore only retain a small subset of the environment for pg_ctl start, to ensure
no leakage of these values are possible.
2016-04-21 10:16:48 +02:00
..
2016-03-11 15:18:58 +01:00
2016-04-18 17:36:30 +02:00
2016-04-18 18:09:36 +02:00
2016-04-18 17:36:30 +02:00
2016-04-21 10:16:48 +02:00
2016-03-14 16:02:49 +01:00