doc: Update pg_stat_statements about query ID calculation of utilities
authorMichael Paquier <michael@paquier.xyz>
Wed, 1 Mar 2023 01:31:55 +0000 (10:31 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 1 Mar 2023 01:31:55 +0000 (10:31 +0900)
commit6a88a058614bc921d6cab1cc50330ddee283c810
tree119584334db5a1b616fd7257b06f182ea1ad5483
parentb1b86820d84e4ddca9396aa6b7c5a496382fe950
doc: Update pg_stat_statements about query ID calculation of utilities

Since 3db72eb, the calculation of the query ID hash for utilities is not
done based on the textual query strings, but on their internal Query
representation, meaning that there can be an overlap when they use
literal constants.  The documentation of pg_stat_statements was missing
a refresh about that.

Extracted from a larger patch by me.

Discussion: https://postgr.es/m/Y+MRdEq9W9XVa2AB@paquier.xyz
doc/src/sgml/pgstatstatements.sgml