aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeAgg.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2021-07-24 20:14:03 -0700
committerAndres Freund <andres@anarazel.de>2021-07-24 20:25:37 -0700
commitd9d8aa9bb9aa2a850f53facd2c91e454129af57b (patch)
treeefc56ecc8b586becc76168370fd1100f0ce9dc5e /src/backend/executor/nodeAgg.c
parent6310809c4aa146b3996a35524955c6c6943d241a (diff)
downloadpostgresql-d9d8aa9bb9aa2a850f53facd2c91e454129af57b.tar.gz
postgresql-d9d8aa9bb9aa2a850f53facd2c91e454129af57b.zip
Deduplicate choice of horizon for a relation procarray.c.
5a1e1d83022 was a minimal bug fix for dc7420c2c92. To avoid future bugs of that kind, deduplicate the choice of a relation's horizon into a new helper, GlobalVisHorizonKindForRel(). As the code in question was only introduced in dc7420c2c92 it seems worth backpatching this change as well, otherwise 14 will look different from all other branches. A different approach to this was suggested by Matthias van de Meent. Author: Andres Freund Discussion: https://postgr.es/m/20210621122919.2qhu3pfugxxp3cji@alap3.anarazel.de Backpatch: 14, like 5a1e1d83022
Diffstat (limited to 'src/backend/executor/nodeAgg.c')
0 files changed, 0 insertions, 0 deletions