aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execParallel.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-01-24 14:20:10 +0900
committerMichael Paquier <michael@paquier.xyz>2024-01-24 14:20:10 +0900
commitad6fbbeeb07aa40dd3a90b417c0820543d8626eb (patch)
tree0833519e33de37a02030524e269b213fac87aa0d /src/backend/executor/execParallel.c
parent3fd36be52b70b95eea6fe7d296ce871f49eedb50 (diff)
downloadpostgresql-ad6fbbeeb07aa40dd3a90b417c0820543d8626eb.tar.gz
postgresql-ad6fbbeeb07aa40dd3a90b417c0820543d8626eb.zip
Fix ALTER TABLE .. ADD COLUMN with complex inheritance trees
This command, when used to add a column on a parent table with a complex inheritance tree, tried to update multiple times the same tuple in pg_attribute for a child table when incrementing attinhcount, causing failures with "tuple already updated by self" because of a missing CommandCounterIncrement() between two updates. This exists for a rather long time, so backpatch all the way down. Reported-by: Alexander Lakhin Author: Tender Wang Reviewed-by: Richard Guo Discussion: https://postgr.es/m/18297-b04cd83a55b51e35@postgresql.org Backpatch-through: 12
Diffstat (limited to 'src/backend/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions