aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/regex')
-rw-r--r--src/backend/regex/regprefix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/regex/regprefix.c b/src/backend/regex/regprefix.c
index 221f02da63d..c09b2a9778e 100644
--- a/src/backend/regex/regprefix.c
+++ b/src/backend/regex/regprefix.c
@@ -32,7 +32,7 @@ static int findprefix(struct cnfa *cnfa, struct colormap *cm,
* REG_EXACT: all strings satisfying the regex must match the same string
* or a REG_XXX error code
*
- * In the non-failure cases, *string is set to a malloc'd string containing
+ * In the non-failure cases, *string is set to a palloc'd string containing
* the common prefix or exact value, of length *slength (measured in chrs
* not bytes!).
*