Commit 7cd0fd6
committed
Invalid parent's relcache after CREATE TABLE .. PARTITION OF.
Otherwise, subsequent commands in the same transaction see the wrong
partition descriptor.
Amit Langote. Reported by Tomas Vondra and David Fetter. Reviewed
by me.
Discussion: http://postgr.es/m/22dd313b-d7fd-22b5-0787-654845c8f849%402ndquadrant.com
Discussion: http://postgr.es/m/20161215090916.GB20659%40fetter.org1 parent e13029a commit 7cd0fd6
File tree
3 files changed
+11
-11
lines changed- src
- backend
- catalog
- commands
- include/catalog
3 files changed
+11
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3230 | 3230 | | |
3231 | 3231 | | |
3232 | 3232 | | |
| 3233 | + | |
| 3234 | + | |
| 3235 | + | |
3233 | 3236 | | |
3234 | 3237 | | |
3235 | | - | |
| 3238 | + | |
3236 | 3239 | | |
3237 | 3240 | | |
3238 | 3241 | | |
| |||
3273 | 3276 | | |
3274 | 3277 | | |
3275 | 3278 | | |
| 3279 | + | |
| 3280 | + | |
3276 | 3281 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
777 | 777 | | |
778 | 778 | | |
779 | 779 | | |
780 | | - | |
781 | 780 | | |
782 | 781 | | |
783 | | - | |
| 782 | + | |
| 783 | + | |
| 784 | + | |
784 | 785 | | |
785 | 786 | | |
786 | 787 | | |
| |||
13141 | 13142 | | |
13142 | 13143 | | |
13143 | 13144 | | |
13144 | | - | |
| 13145 | + | |
13145 | 13146 | | |
13146 | 13147 | | |
13147 | 13148 | | |
| |||
13352 | 13353 | | |
13353 | 13354 | | |
13354 | 13355 | | |
13355 | | - | |
13356 | | - | |
13357 | | - | |
13358 | | - | |
13359 | | - | |
13360 | | - | |
13361 | 13356 | | |
13362 | 13357 | | |
13363 | 13358 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
| 146 | + | |
147 | 147 | | |
148 | 148 | | |
0 commit comments