forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8178d94
committed
Throw an appropriate error if ALTER COLUMN TYPE finds a dependent trigger.
Actually making this case work, if the column is used in the trigger'sWHEN condition, will take some new code that probably isn't appropriateto back-patch. For now, just throw a FEATURE_NOT_SUPPORTED error ratherthan allowing control to reach the "unexpected object" case. Per bug #5688from Daniel Grace. Back-patch to 9.0 where the possibility of such adependency was introduced.1 parenta0ccae7 commit8178d94
1 file changed
+18
-1
lines changedLines changed: 18 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6148 | 6148 |
| |
6149 | 6149 |
| |
6150 | 6150 |
| |
| 6151 | + | |
| 6152 | + | |
| 6153 | + | |
| 6154 | + | |
| 6155 | + | |
| 6156 | + | |
| 6157 | + | |
| 6158 | + | |
| 6159 | + | |
| 6160 | + | |
| 6161 | + | |
| 6162 | + | |
| 6163 | + | |
| 6164 | + | |
| 6165 | + | |
| 6166 | + | |
| 6167 | + | |
| 6168 | + | |
6151 | 6169 |
| |
6152 | 6170 |
| |
6153 | 6171 |
| |
| |||
6168 | 6186 |
| |
6169 | 6187 |
| |
6170 | 6188 |
| |
6171 |
| - | |
6172 | 6189 |
| |
6173 | 6190 |
| |
6174 | 6191 |
| |
|
0 commit comments
Comments
(0)