aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2018-11-28 14:00:57 +1300
committerThomas Munro <tmunro@postgresql.org>2018-11-28 14:15:00 +1300
commit96ed0b87045486ca0465f4ea444515754d0915a0 (patch)
tree17f694de8d5661af3dd51aa37dfcb3864a8d1ec2 /contrib/postgres_fdw/postgres_fdw.c
parent4e7395d83faf02d0b64b1da69d0c1be53b76f802 (diff)
downloadpostgresql-96ed0b87045486ca0465f4ea444515754d0915a0.tar.gz
postgresql-96ed0b87045486ca0465f4ea444515754d0915a0.zip
Don't set PAM_RHOST for Unix sockets.
Since commit 2f1d2b7a we have set PAM_RHOST to "[local]" for Unix sockets. This caused Linux PAM's libaudit integration to make DNS requests for that name. It's not exactly clear what value PAM_RHOST should have in that case, but it seems clear that we shouldn't set it to an unresolvable name, so don't do that. Back-patch to 9.6. Bug #15520. Author: Thomas Munro Reviewed-by: Peter Eisentraut Reported-by: Albert Schabhuetl Discussion: https://postgr.es/m/15520-4c266f986998e1c5%40postgresql.org
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions