aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistbuildbuffers.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2020-10-11 21:31:37 -0700
committerNoah Misch <noah@leadboat.com>2020-10-11 21:31:40 -0700
commit5efa788e1d070dd14cb94a8e087184dda36dc3ea (patch)
treead78ade13bee43a2d4f0188935a5fece55a48788 /src/backend/access/gist/gistbuildbuffers.c
parentd41cb63ff4d114d856837fbf61ba2872c5076ac2 (diff)
downloadpostgresql-5efa788e1d070dd14cb94a8e087184dda36dc3ea.tar.gz
postgresql-5efa788e1d070dd14cb94a8e087184dda36dc3ea.zip
Choose ppc compare_exchange constant path for more operand values.
The implementation uses smaller code when the "expected" operand is a small constant, but the implementation needlessly defined the set of acceptable constants more narrowly than the ABI does. Core PostgreSQL and PGXN don't use the constant path at all, so this is future-proofing. Back-patch to v13, where commit 30ee5d17c20dbb282a9952b3048d6ad52d56c371 introduced this code. Reviewed by Tom Lane. Reported by Christoph Berg. Discussion: https://postgr.es/m/20201009092825.GD889580@msg.df7cb.de
Diffstat (limited to 'src/backend/access/gist/gistbuildbuffers.c')
0 files changed, 0 insertions, 0 deletions