forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb2734a0
committed
Support SQL-compliant triggers on columns, ie fire only if certain columns
are named in the UPDATE's SET list.Note: the schema of pg_trigger has not actually changed; we've just startedto use a column that was there all along. catversion bumped anyway so thatthis commit is included in the history of potentially interesting changesto system catalog contents.Itagaki Takahiro1 parentbe922e8 commitb2734a0
File tree
17 files changed
+433
-183
lines changed- doc/src/sgml
- ref
- src
- backend
- catalog
- commands
- nodes
- optimizer/plan
- parser
- utils/adt
- bin/pg_dump
- include
- catalog
- nodes
- test/regress
- expected
- sql
17 files changed
+433
-183
lines changedLines changed: 12 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
4745 | 4745 |
| |
4746 | 4746 |
| |
4747 | 4747 |
| |
4748 |
| - | |
4749 |
| - | |
| 4748 | + | |
| 4749 | + | |
| 4750 | + | |
4750 | 4751 |
| |
4751 | 4752 |
| |
4752 | 4753 |
| |
| |||
4759 | 4760 |
| |
4760 | 4761 |
| |
4761 | 4762 |
| |
| 4763 | + | |
| 4764 | + | |
| 4765 | + | |
| 4766 | + | |
| 4767 | + | |
| 4768 | + | |
| 4769 | + | |
| 4770 | + | |
4762 | 4771 |
| |
4763 | 4772 |
| |
4764 | 4773 |
| |
|
Lines changed: 30 additions & 14 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 |
| - | |
| 2 | + | |
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| |||
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 |
| - | |
| 52 | + | |
53 | 53 |
| |
54 | 54 |
| |
55 | 55 |
| |
| |||
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
125 | 135 |
| |
126 | 136 |
| |
127 | 137 |
| |
| |||
169 | 179 |
| |
170 | 180 |
| |
171 | 181 |
| |
172 |
| - | |
173 |
| - | |
| 182 | + | |
| 183 | + | |
174 | 184 |
| |
175 | 185 |
| |
176 | 186 |
| |
| |||
191 | 201 |
| |
192 | 202 |
| |
193 | 203 |
| |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
194 | 216 |
| |
195 | 217 |
| |
196 | 218 |
| |
| |||
218 | 240 |
| |
219 | 241 |
| |
220 | 242 |
| |
221 |
| - | |
222 |
| - | |
223 |
| - | |
224 |
| - | |
225 |
| - | |
226 |
| - | |
227 |
| - | |
228 | 243 |
| |
229 | 244 |
| |
230 | 245 |
| |
| |||
264 | 279 |
| |
265 | 280 |
| |
266 | 281 |
| |
267 |
| - | |
268 |
| - | |
269 |
| - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
270 | 286 |
| |
271 | 287 |
| |
272 | 288 |
| |
|
Lines changed: 8 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 |
| |
44 | 47 |
| |
45 | 48 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
792 | 792 |
| |
793 | 793 |
| |
794 | 794 |
| |
| 795 | + | |
795 | 796 |
| |
796 | 797 |
| |
797 | 798 |
| |
|
Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
5441 | 5441 |
| |
5442 | 5442 |
| |
5443 | 5443 |
| |
| 5444 | + | |
5444 | 5445 |
| |
5445 | 5446 |
| |
5446 | 5447 |
| |
| |||
5491 | 5492 |
| |
5492 | 5493 |
| |
5493 | 5494 |
| |
| 5495 | + | |
5494 | 5496 |
| |
5495 | 5497 |
| |
5496 | 5498 |
| |
| |||
5543 | 5545 |
| |
5544 | 5546 |
| |
5545 | 5547 |
| |
| 5548 | + | |
5546 | 5549 |
| |
5547 | 5550 |
| |
5548 | 5551 |
| |
|
0 commit comments
Comments
(0)