- Notifications
You must be signed in to change notification settings - Fork5.2k
Commitbba6a6f
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 parente376422 commitbba6a6f
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 | |
|---|---|---|---|
| |||
2748 | 2748 | | |
2749 | 2749 | | |
2750 | 2750 | | |
| 2751 | + | |
| 2752 | + | |
| 2753 | + | |
| 2754 | + | |
2751 | 2755 | | |
2752 | 2756 | | |
2753 | 2757 | | |
| |||
2945 | 2949 | | |
2946 | 2950 | | |
2947 | 2951 | | |
| 2952 | + | |
| 2953 | + | |
| 2954 | + | |
| 2955 | + | |
2948 | 2956 | | |
2949 | 2957 | | |
2950 | 2958 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1922 | 1922 | | |
1923 | 1923 | | |
1924 | 1924 | | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
1925 | 1930 | | |
1926 | 1931 | | |
1927 | 1932 | | |
| |||
2141 | 2146 | | |
2142 | 2147 | | |
2143 | 2148 | | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
2144 | 2154 | | |
2145 | 2155 | | |
2146 | 2156 | | |
| |||
0 commit comments
Comments
(0)