[check_postgres] PBINDIR and PG_CONTROLDATA

Cédric Villemain cedric.villemain.debian at gmail.com
Sun Jan 22 23:41:18 UTC 2012


Le 23 janvier 2012 00:30, Greg Sabino Mullane <greg at endpoint.com> a écrit :
>> I tryed to keep the same approach as for PSQL.
>> I wonder if NO_PSQL_OPTION is really wanted for "security reason".
>> Greg, any though on that ?
>
> Yes, I'd like to keep that around, unless it really becomes
> troublesome to maintain.

ok, so the logic is if NO_PSQL_OPTION=1 :
*that PGBINDIR can be set via environment variable, but not via config
file or command-line argument.
*that PSQL can not be set explicitly, but derived from PGBINDIR

I am not in a hurry, I'll wait approval (of code) before commit.
--
Cédric Villemain +33 (0)6 20 30 22 52
http://2ndQuadrant.fr/
PostgreSQL: Support 24x7 - Développement, Expertise et Formation


More information about the Check_postgres mailing list