static void JumbleExpr(pgssJumbleState *jstate, Node *node);
static void RecordConstLocation(pgssJumbleState *jstate, int location);
static char *generate_normalized_query(pgssJumbleState *jstate, const char *query,
- int query_loc, int *query_len_p, int encoding);
+ int query_loc, int *query_len_p);
static void fill_in_constant_lengths(pgssJumbleState *jstate, const char *query,
int query_loc);
static int comp_location(const void *a, const void *b);
LWLockRelease(pgss->lock);
norm_query = generate_normalized_query(jstate, query,
query_location,
- &query_len,
- encoding);
+ &query_len);
LWLockAcquire(pgss->lock, LW_SHARED);
}
*/
static char *
generate_normalized_query(pgssJumbleState *jstate, const char *query,
- int query_loc, int *query_len_p, int encoding)
+ int query_loc, int *query_len_p)
{
char *norm_query;
int query_len = *query_len_p;