diff options
author | David Rowley | 2025-06-16 22:49:36 +0000 |
---|---|---|
committer | David Rowley | 2025-06-16 22:49:36 +0000 |
commit | 33b06a20016d8dd8dbdc1f6d6a9d79477c1104c5 (patch) | |
tree | 6420355a445e4d2834beb7bb5ab95b85d97268f0 /contrib/findoidjoins | |
parent | e9a3615a5224236917af161d9b6a55ba8f129b4d (diff) |
Sometimes the TupleDesc used in verify_compact_attribute() is shared
among backends, and since CompactAttribute.attcacheoff gets updated
during tuple deformation, it was possible that another backend would
set attcacheoff on a given CompactAttribute in the small window of time
from when the attcacheoff from the live CompactAttribute was being set
in the 'tmp' CompactAttribute and before the Assert verifying that the
live and tmp CompactAttributes matched.
Here we adjust the code to make a copy of the live CompactAttribute so
that we're not trying to Assert against a shared copy of it.
Author: David Rowley <dgrowleyml@gmail.com>
Reported-by: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/7195e408-758c-4031-8e61-4f842c716ac0@gmail.com
Diffstat (limited to 'contrib/findoidjoins')
0 files changed, 0 insertions, 0 deletions