Re: Disable TRUST authentication by using ClientAuthentication_hook

2018-07-13 Thread Tom Lane
=?UTF-8?Q?Fabr=C3=ADzio_de_Royes_Mello?= writes: > 2018-07-13 9:01 GMT-03:00 Guillaume Lelarge : >> 2018-07-13 13:57 GMT+02:00 : >>> I’d like to disable the TRUST authentication method for certain servers >>> where modification of pg_hba.conf and restarting a service is fairly easy >>> for a numbe

Re: Disable TRUST authentication by using ClientAuthentication_hook

2018-07-13 Thread Guillaume Lelarge
2018-07-13 15:19 GMT+02:00 Fabrízio de Royes Mello : > > 2018-07-13 9:01 GMT-03:00 Guillaume Lelarge : > >> 2018-07-13 13:57 GMT+02:00 : >> >>> I’d like to disable the TRUST authentication method for certain servers >>> where modification of pg_hba.conf and restarting a service is fairly easy >>>

Re: Disable TRUST authentication by using ClientAuthentication_hook

2018-07-13 Thread Fabrízio de Royes Mello
2018-07-13 9:01 GMT-03:00 Guillaume Lelarge : > 2018-07-13 13:57 GMT+02:00 : > >> I’d like to disable the TRUST authentication method for certain servers >> where modification of pg_hba.conf and restarting a service is fairly easy >> for a number of users. >> >> >> >> I looked at this example http

Re: Disable TRUST authentication by using ClientAuthentication_hook

2018-07-13 Thread Guillaume Lelarge
2018-07-13 13:57 GMT+02:00 : > I’d like to disable the TRUST authentication method for certain servers > where modification of pg_hba.conf and restarting a service is fairly easy > for a number of users. > > > > I looked at this example https://wiki.postgresql.org/images/e/e3/Hooks_in_ > postgresq