PG-449: Despite pgsm_extract_comments='no', comments are still visible. (#271)
Check for GUC (pgsm_extract_comments) was missing.pull/269/head^2
parent
14c390d201
commit
926eade1eb
|
@ -1511,6 +1511,8 @@ pgss_store(uint64 queryid,
|
||||||
|
|
||||||
planid = plan_info ? plan_info->planid : 0;
|
planid = plan_info ? plan_info->planid : 0;
|
||||||
|
|
||||||
|
/* Extract comments if enabled. */
|
||||||
|
if (PGSM_EXTRACT_COMMENTS)
|
||||||
extract_query_comments(query, comments, sizeof(comments));
|
extract_query_comments(query, comments, sizeof(comments));
|
||||||
|
|
||||||
prev_bucket_id = pg_atomic_read_u64(&pgss->current_wbucket);
|
prev_bucket_id = pg_atomic_read_u64(&pgss->current_wbucket);
|
||||||
|
|
Loading…
Reference in New Issue