diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-10 18:00:39 -0400 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-10 18:00:39 -0400 |
| commit | 18c8dc32ce6759a8837f01e3dd0036cd19ee8683 (patch) | |
| tree | d2d058f0f362cf22af5856a4e20cc7f814835f87 /src/include/utils | |
| parent | f12960d8c9ce454a37c2082549b7766ce36627d2 (diff) | |
Back-patch fix for extraction of fixed prefixes from regular expressions.
Back-patch of commits 628cbb50ba80c83917b07a7609ddec12cda172d0 and
c6aae3042be5249e672b731ebeb21875b5343010. This has been broken since
7.3, so back-patch to all supported branches.
Diffstat (limited to 'src/include/utils')
| -rw-r--r-- | src/include/utils/builtins.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/utils/builtins.h b/src/include/utils/builtins.h index d1e83707606..6ec3cce8226 100644 --- a/src/include/utils/builtins.h +++ b/src/include/utils/builtins.h @@ -568,6 +568,8 @@ extern Datum regexp_split_to_table(PG_FUNCTION_ARGS); extern Datum regexp_split_to_table_no_flags(PG_FUNCTION_ARGS); extern Datum regexp_split_to_array(PG_FUNCTION_ARGS); extern Datum regexp_split_to_array_no_flags(PG_FUNCTION_ARGS); +extern char *regexp_fixed_prefix(text *text_re, bool case_insensitive, + Oid collation, bool *exact); /* regproc.c */ extern Datum regprocin(PG_FUNCTION_ARGS); |
