PG-588: Some queries are not being normalised.

There is no specific test case where I can either reproduce or validate
the fix. Though, one of the suspects is this condition in pgss_store.
Therefore removed, and it requires verification.
pull/360/head
Hamid Akhtar 2023-01-20 19:34:02 +05:00 committed by Muhammad Usama
parent 1662e9efa1
commit dfd41519cf
1 changed files with 1 additions and 1 deletions

View File

@ -1588,7 +1588,7 @@ pgss_store(uint64 queryid,
* in the interval where we don't hold the lock below. That case is
* handled by entry_alloc.
*/
if (jstate && jstate->clocations_count > 0)
if (jstate)
{
norm_query_len = query_len;