aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/variable.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-03-04 11:38:45 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2011-03-04 11:38:45 -0500
commitbd58d9d883111ee84de4af480ebb018fe9b0bf27 (patch)
tree6640d3acda7caf754cd27abc4c4d463db128c263 /src/backend/commands/variable.c
parentee3838b1d35cffec21ca40dbfc409ec40ddf3e28 (diff)
downloadpostgresql-bd58d9d883111ee84de4af480ebb018fe9b0bf27.tar.gz
postgresql-bd58d9d883111ee84de4af480ebb018fe9b0bf27.zip
In initialize_SSL, don't fail unnecessarily when home dir is unavailable.
Instead, just act as though the certificate file(s) are not present. There is only one case where this need be a hard failure condition: when sslmode is verify-ca or verify-full, not having a root cert file is an error. Change the logic so that we complain only in that case, and otherwise fall through cleanly. This is how it used to behave pre-9.0, but my patch 4ed4b6c54e5fab24ab2624d80e26f7546edc88ad of 2010-05-26 broke the case. Per report from Christian Kastner.
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions