diff options
author | Tomas Vondra <tomas.vondra@postgresql.org> | 2021-09-01 00:42:32 +0200 |
---|---|---|
committer | Tomas Vondra <tomas.vondra@postgresql.org> | 2021-09-01 00:43:22 +0200 |
commit | 13380e1476490932c7b15530ead1f649a16e1125 (patch) | |
tree | 08283cb56f0fa44de63ba60499ce6bb788a3a1a5 /contrib/postgres_fdw/postgres_fdw.h | |
parent | 47029f775adf83796fecb5871ce52488996a7969 (diff) | |
download | postgresql-13380e1476490932c7b15530ead1f649a16e1125.tar.gz postgresql-13380e1476490932c7b15530ead1f649a16e1125.zip |
Don't print extra parens around expressions in extended stats
The code printing expressions for extended statistics doubled the
parens, producing results like ((a+1)), which is unnecessary and not
consistent with how we print expressions elsewhere.
Fixed by tweaking the code to produce just a single set of parens.
Reported by Mark Dilger, fix by me. Backpatch to 14, where support for
extended statistics on expressions was added.
Reported-by: Mark Dilger
Discussion: https://postgr.es/m/20210122040101.GF27167%40telsasoft.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.h')
0 files changed, 0 insertions, 0 deletions