summaryrefslogtreecommitdiff
path: root/src/backend
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2023-04-14 13:31:51 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2023-04-14 13:31:51 -0400
commite4d905f772f7803d399b6e173ca9aa7ba8a35e5a (patch)
treee189e950cd4b0e788621cd96528bb1fe132f099c /src/backend
parent928e05ddfd4031c67e101c5e74dbb5c8ec4f9e23 (diff)
downloadpostgresql-e4d905f772f7803d399b6e173ca9aa7ba8a35e5a.tar.gz
NULL is not an ideal way to spell bool "false".
Thinko in commit 6633cfb21, detected by buildfarm member hamerkop.
Diffstat (limited to 'src/backend')
-rw-r--r--src/backend/libpq/be-secure-gssapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/libpq/be-secure-gssapi.c b/src/backend/libpq/be-secure-gssapi.c
index 6212f225fd..7f52e1ee23 100644
--- a/src/backend/libpq/be-secure-gssapi.c
+++ b/src/backend/libpq/be-secure-gssapi.c
@@ -752,7 +752,7 @@ bool
be_gssapi_get_deleg(Port *port)
{
if (!port || !port->gss)
- return NULL;
+ return false;
return port->gss->delegated_creds;
}