I noticed a minor omission in the patch as committed. Attached patch
corrects this.


-- 
Peter Geoghegan
*** a/contrib/pg_stat_statements/pg_stat_statements.c
--- b/contrib/pg_stat_statements/pg_stat_statements.c
*************** generate_normalized_query(pgssJumbleStat
*** 2726,2732 ****
  		if (tok_len < 0)
  			continue;			/* ignore any duplicates */
  
! 		/* Copy next chunk, or as much as will fit */
  		len_to_wrt = off - last_off;
  		len_to_wrt -= last_tok_len;
  
--- 2726,2732 ----
  		if (tok_len < 0)
  			continue;			/* ignore any duplicates */
  
! 		/* Copy next chunk */
  		len_to_wrt = off - last_off;
  		len_to_wrt -= last_tok_len;
  
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to