aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execParallel.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2018-10-06 22:13:19 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2018-10-06 22:13:19 -0300
commit39808e8868c8fac383b33aa103ab57539b0e2a69 (patch)
tree9de4c4332affeec71508df9504bc60e1e3c87105 /src/backend/executor/execParallel.c
parentad08006ba03797fed431af87de6e66c6c0985b7a (diff)
downloadpostgresql-39808e8868c8fac383b33aa103ab57539b0e2a69.tar.gz
postgresql-39808e8868c8fac383b33aa103ab57539b0e2a69.zip
Fix catalog insertion order for ATTACH PARTITION
Commit 2fbdf1b38bc changed the order in which we inserted catalog rows when creating partitions, so that we could remove an unsightly hack required for untimely relcache invalidations. However, that commit only changed the ordering for CREATE TABLE PARTITION OF, and left ALTER TABLE ATTACH PARTITION unchanged, so the latter can be affected when catalog invalidations occur, for instance when the partition key involves an SQL function. Reported-by: Rajkumar Raghuwanshi Author: Amit Langote Reviewed-by: Michaƫl Paquier Discussion: https://postgr.es/m/CAKcux6=nTz9KSfTr_6Z2mpzLJ_09JN-rK6=dWic6gGyTSWueyQ@mail.gmail.com
Diffstat (limited to 'src/backend/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions