@@ -376,7 +376,7 @@ static void JumbleRowMarks(pgssJumbleState *jstate, List *rowMarks);
376
376
static void JumbleExpr (pgssJumbleState * jstate , Node * node );
377
377
static void RecordConstLocation (pgssJumbleState * jstate , int location );
378
378
static char * generate_normalized_query (pgssJumbleState * jstate , const char * query ,
379
- int query_loc , int * query_len_p , int encoding );
379
+ int query_loc , int * query_len_p );
380
380
static void fill_in_constant_lengths (pgssJumbleState * jstate , const char * query ,
381
381
int query_loc );
382
382
static int comp_location (const void * a , const void * b );
@@ -1336,8 +1336,7 @@ pgss_store(const char *query, uint64 queryId,
1336
1336
LWLockRelease (pgss -> lock );
1337
1337
norm_query = generate_normalized_query (jstate , query ,
1338
1338
query_location ,
1339
- & query_len ,
1340
- encoding );
1339
+ & query_len );
1341
1340
LWLockAcquire (pgss -> lock , LW_SHARED );
1342
1341
}
1343
1342
@@ -3235,7 +3234,7 @@ RecordConstLocation(pgssJumbleState *jstate, int location)
3235
3234
*/
3236
3235
static char *
3237
3236
generate_normalized_query (pgssJumbleState * jstate , const char * query ,
3238
- int query_loc , int * query_len_p , int encoding )
3237
+ int query_loc , int * query_len_p )
3239
3238
{
3240
3239
char * norm_query ;
3241
3240
int query_len = * query_len_p ;
0 commit comments