aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plpython/jsonb_plpythonu.control
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2019-04-25 11:37:08 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2019-04-25 11:37:08 -0400
commitb1f570b57cccba9275649815be009a3947b48130 (patch)
tree632918fe210ec8210446e0ebfa389cd3a3e906ed /contrib/jsonb_plpython/jsonb_plpythonu.control
parenta98c48debcd0620ab07608d53ee08fdb0e7a1edb (diff)
downloadpostgresql-b1f570b57cccba9275649815be009a3947b48130.tar.gz
postgresql-b1f570b57cccba9275649815be009a3947b48130.zip
Fix partitioned index attachment
When an existing index in a partition is attached to a new index on its parent, we forgot to set the "relispartition" flag correctly, which meant that it was not possible to find the index in various operations, such as adding a foreign key constraint that references that partitioned table. One of four places that was assigning the parent index was forgetting to do that, so fix by shifting responsibility of updating the flag to the routine that changes the parent. Author: Amit Langote, Álvaro Herrera Reported-by: Hubert "depesz" Lubaczewski Discussion: https://postgr.es/m/CA+HiwqHMsRtRYRWYTWavKJ8x14AFsv7bmAV46mYwnfD3vy8goQ@mail.gmail.com
Diffstat (limited to 'contrib/jsonb_plpython/jsonb_plpythonu.control')
0 files changed, 0 insertions, 0 deletions