- Notifications
You must be signed in to change notification settings - Fork5.2k
Commit9e63f83
Etsuro Fujita
Fix oversight in FindTriggerIncompatibleWithInheritance.
This function is called from ATExecAttachPartition/ATExecAddInherit,which prevent tables with row-level triggers with transition tables frombecoming partitions or inheritance children, to check if there is such atrigger on the given table, but failed to check if a found trigger isrow-level, causing the caller functions to needlessly prevent a tablewith only a statement-level trigger with transition tables from becominga partition or inheritance child. Repair.Oversight in commit501ed02.Author: Etsuro Fujita <etsuro.fujita@gmail.com>Discussion:https://postgr.es/m/CAPmGK167mXzwzzmJ_0YZ3EZrbwiCxtM1vogH_8drqsE6PtxRYw%40mail.gmail.comBackpatch-through: 131 parent85ccd7e commit9e63f83
File tree
3 files changed
+20
-0
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2285 | 2285 | | |
2286 | 2286 | | |
2287 | 2287 | | |
| 2288 | + | |
| 2289 | + | |
2288 | 2290 | | |
2289 | 2291 | | |
2290 | 2292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2769 | 2769 | | |
2770 | 2770 | | |
2771 | 2771 | | |
| 2772 | + | |
| 2773 | + | |
| 2774 | + | |
| 2775 | + | |
2772 | 2776 | | |
2773 | 2777 | | |
2774 | 2778 | | |
| |||
2966 | 2970 | | |
2967 | 2971 | | |
2968 | 2972 | | |
| 2973 | + | |
| 2974 | + | |
| 2975 | + | |
| 2976 | + | |
2969 | 2977 | | |
2970 | 2978 | | |
2971 | 2979 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1935 | 1935 | | |
1936 | 1936 | | |
1937 | 1937 | | |
| 1938 | + | |
| 1939 | + | |
| 1940 | + | |
| 1941 | + | |
| 1942 | + | |
1938 | 1943 | | |
1939 | 1944 | | |
1940 | 1945 | | |
| |||
2154 | 2159 | | |
2155 | 2160 | | |
2156 | 2161 | | |
| 2162 | + | |
| 2163 | + | |
| 2164 | + | |
| 2165 | + | |
| 2166 | + | |
2157 | 2167 | | |
2158 | 2168 | | |
2159 | 2169 | | |
| |||
0 commit comments
Comments
(0)