aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-secure-gssapi.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2019-04-17 13:51:48 +0200
committerMagnus Hagander <magnus@hagander.net>2019-04-17 13:51:48 +0200
commit252b707bc41cc9bf6c55c18d8cb302a6176b7e48 (patch)
tree81ad76fd40b266f9ace5614ee1372df865e8c869 /src/interfaces/libpq/fe-secure-gssapi.c
parent9010156445c420361c2cef9557751c0b8b52644b (diff)
downloadpostgresql-252b707bc41cc9bf6c55c18d8cb302a6176b7e48.tar.gz
postgresql-252b707bc41cc9bf6c55c18d8cb302a6176b7e48.zip
Return NULL for checksum failures if checksums are not enabled
Returning 0 could falsely indicate that there is no problem. NULL correctly indicates that there is no information about potential problems. Also return 0 as numbackends instead of NULL for shared objects (as no connection can be made to a shared object only). Author: Julien Rouhaud <rjuju123@gmail.com> Reviewed-by: Robert Treat <rob@xzilla.net>
Diffstat (limited to 'src/interfaces/libpq/fe-secure-gssapi.c')
0 files changed, 0 insertions, 0 deletions