aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.c
diff options
context:
space:
mode:
authorNoah Misch <noah@leadboat.com>2016-04-26 21:53:58 -0400
committerNoah Misch <noah@leadboat.com>2016-04-26 21:53:58 -0400
commit213c7df0337278c71c98e90605dc83023db1a80e (patch)
tree5b47b2ec24dfa3c8c8fcecdc311accc3ee767c7e /src/backend/utils/adt/ruleutils.c
parent3019f432d6fffe6d8e04f5ccc592eb385af96492 (diff)
downloadpostgresql-213c7df0337278c71c98e90605dc83023db1a80e.tar.gz
postgresql-213c7df0337278c71c98e90605dc83023db1a80e.zip
Impose a full barrier in generic-xlc.h atomics functions.
pg_atomic_compare_exchange_*_impl() were providing only the semantics of an acquire barrier. Buildfarm members hornet and mandrill revealed this deficit beginning with commit 008608b9d51061b1f598c197477b3dc7be9c4a64. While we have no report of symptoms in 9.5, we can't rule out the possibility of certain compilers, hardware, or extension code relying on these functions' specified barrier semantics. Back-patch to 9.5, where commit b64d92f1a5602c55ee8b27a7ac474f03b7aee340 introduced atomics. Reviewed by Andres Freund.
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions