From f4489db17ccaae379d76ac2bc6e1fd8274163415 Mon Sep 17 00:00:00 2001 From: Jesse Zhang Date: Fri, 31 Aug 2018 18:45:34 -0400 Subject: [PATCH] Fix one more function return type confusion In the same spirit of upstream commit c74d586d2fc, but in an area of Greenplum specific LDAP handling code. For context, the return type of parse_hba_line changed in postgres/postgres@e5e2fc842c4. --- src/backend/libpq/hba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c index 69684abecc..9e450bf59a 100644 --- a/src/backend/libpq/hba.c +++ b/src/backend/libpq/hba.c @@ -1362,7 +1362,7 @@ parse_hba_line(List *line, int line_num) errmsg("cannot use 'ldaptls' or 'ldapport' with 'ldapserver' start with 'ldaps://'"), errcontext("line %d of configuration file \"%s\"", line_num, HbaFileName))); - return false; + return NULL; } } -- GitLab