aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/like_support.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/adt/like_support.c')
-rw-r--r--src/backend/utils/adt/like_support.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/backend/utils/adt/like_support.c b/src/backend/utils/adt/like_support.c
index e2583bc680a..26e06348338 100644
--- a/src/backend/utils/adt/like_support.c
+++ b/src/backend/utils/adt/like_support.c
@@ -70,36 +70,36 @@ typedef enum
static Node *like_regex_support(Node *rawreq, Pattern_Type ptype);
static List *match_pattern_prefix(Node *leftop,
- Node *rightop,
- Pattern_Type ptype,
- Oid expr_coll,
- Oid opfamily,
- Oid indexcollation);
+ Node *rightop,
+ Pattern_Type ptype,
+ Oid expr_coll,
+ Oid opfamily,
+ Oid indexcollation);
static double patternsel_common(PlannerInfo *root,
- Oid oprid,
- Oid opfuncid,
- List *args,
- int varRelid,
- Oid collation,
- Pattern_Type ptype,
- bool negate);
+ Oid oprid,
+ Oid opfuncid,
+ List *args,
+ int varRelid,
+ Oid collation,
+ Pattern_Type ptype,
+ bool negate);
static Pattern_Prefix_Status pattern_fixed_prefix(Const *patt,
- Pattern_Type ptype,
- Oid collation,
- Const **prefix,
- Selectivity *rest_selec);
+ Pattern_Type ptype,
+ Oid collation,
+ Const **prefix,
+ Selectivity *rest_selec);
static Selectivity prefix_selectivity(PlannerInfo *root,
- VariableStatData *vardata,
- Oid vartype, Oid opfamily, Const *prefixcon);
+ VariableStatData *vardata,
+ Oid vartype, Oid opfamily, Const *prefixcon);
static Selectivity like_selectivity(const char *patt, int pattlen,
- bool case_insensitive);
+ bool case_insensitive);
static Selectivity regex_selectivity(const char *patt, int pattlen,
- bool case_insensitive,
- int fixed_prefix_len);
-static int pattern_char_isalpha(char c, bool is_multibyte,
- pg_locale_t locale, bool locale_is_c);
+ bool case_insensitive,
+ int fixed_prefix_len);
+static int pattern_char_isalpha(char c, bool is_multibyte,
+ pg_locale_t locale, bool locale_is_c);
static Const *make_greater_string(const Const *str_const, FmgrInfo *ltproc,
- Oid collation);
+ Oid collation);
static Datum string_to_datum(const char *str, Oid datatype);
static Const *string_to_const(const char *str, Oid datatype);
static Const *string_to_bytea_const(const char *str, size_t str_len);