aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2021-09-01 00:42:32 +0200
committerTomas Vondra <tomas.vondra@postgresql.org>2021-09-01 00:44:12 +0200
commit4d1816ec26e877297608a850736afed962527d70 (patch)
tree97f93d390d943f45bc69d953f7496b0e835bd07b /src/tutorial/funcs.c
parent3eda9fc09fd6b9a1aec2d0113c633c69c3214b4d (diff)
downloadpostgresql-4d1816ec26e877297608a850736afed962527d70.tar.gz
postgresql-4d1816ec26e877297608a850736afed962527d70.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 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions