OSDN Git Service

Ignore trailing semicolon in hashing a query
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Wed, 13 Jun 2018 02:13:36 +0000 (11:13 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Wed, 13 Jun 2018 02:13:36 +0000 (11:13 +0900)
commitf6915f3a787f033d220bbfe819634677ab64c4a2
tree99f8e497acedb6c156718a469fb78556aae6fb4c
parente09bbf2e669101137feb8959cbc9818e41b950a3
Ignore trailing semicolon in hashing a query

Since PG10 pg_stat_statements doesn't store trailing semicolon in the
column "query". Normalization is basically useless in the version but
still usefull to match utility commands so follow the behavior change.
pgsp_json.c