Commit 71eba83
committed
Simplify coding to detach constraints when detaching partition
The original coding was too baroque and led to an use-after-release
mistake, noticed by buildfarm member prion.
Discussion: https://postgr.es/m/21693.1548305934@sss.pgh.pa.us1 parent b620cf2 commit 71eba83
1 file changed
+4
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15244 | 15244 | | |
15245 | 15245 | | |
15246 | 15246 | | |
15247 | | - | |
15248 | | - | |
15249 | | - | |
15250 | | - | |
15251 | | - | |
15252 | | - | |
15253 | | - | |
15254 | | - | |
15255 | | - | |
15256 | 15247 | | |
| 15248 | + | |
15257 | 15249 | | |
15258 | 15250 | | |
15259 | | - | |
15260 | | - | |
15261 | | - | |
15262 | | - | |
| 15251 | + | |
| 15252 | + | |
15263 | 15253 | | |
15264 | | - | |
| 15254 | + | |
15265 | 15255 | | |
15266 | 15256 | | |
15267 | 15257 | | |
| |||
0 commit comments