postgres.git / summary / log / commit / refs
commit 203942243c2a2da188db962f3384f1c607a462b5
Author: Andrew Dunstan <andrew@dunslane.net>
Date: Thu Dec 29 12:16:41 2022 +0000
First released in: 16.0
Fix oversight in 7a05425d96
This patch was changed as a result of review but one line didn't get the
message. Mea Culpa.
contrib/ltree/ltree_io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/ltree/ltree_io.c b/contrib/ltree/ltree_io.c
index cb9feebe78c..f0dd3df5115 100644
--- a/contrib/ltree/ltree_io.c
+++ b/contrib/ltree/ltree_io.c
@@ -496,7 +496,7 @@ parse_lquery(const char *buf, struct Node *escontext)
if (state == LQPRS_WAITDELIM)
{
if (!finish_nodeitem(lptr, ptr, true, pos, escontext))
- return false;
+ return NULL;
}
else if (state == LQPRS_WAITOPEN)
curqlevel->high = LTREE_MAX_LEVELS;
[parent: 1de58df4fec7]