aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/network_spgist.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2024-10-07 15:38:45 +0530
committerAmit Kapila <akapila@postgresql.org>2024-10-07 15:38:45 +0530
commit022564f60ca5cade8fd663906f3ee514573b4b5e (patch)
treeb8059494ae9ea7082beeaf0dba0c2d90586bc281 /src/backend/utils/adt/network_spgist.c
parent6ae387eb6334e71c94347b50b711b6750ef71b50 (diff)
downloadpostgresql-022564f60ca5cade8fd663906f3ee514573b4b5e.tar.gz
postgresql-022564f60ca5cade8fd663906f3ee514573b4b5e.zip
Fix fetching default toast value during decoding of in-progress transactions.
During logical decoding of in-progress transactions, we perform the toast table scan while fetching the default toast value for an attribute. We forgot to initialize the flag during this scan to indicate that the system table scan is in progress. We need this flag to ensure that during logical decoding we never directly access the tableam or heap APIs because we check for concurrent aborts only in systable_* APIs. Reported-by: Alexander Lakhin Author: Takeshi Ideriha, Hou Zhijie Reviewed-by: Amit Kapila, Hou Zhijie Backpatch-through: 14 Discussion: https://postgr.es/m/18641-6687273b7f15269d@postgresql.org
Diffstat (limited to 'src/backend/utils/adt/network_spgist.c')
0 files changed, 0 insertions, 0 deletions