- Notifications
You must be signed in to change notification settings - Fork5
Commitc77bc13
committed
This trivial patch implements disabled, deferred triggers, per my
proposal on -hackers a couple days ago. The 'tgenabled' status of thetrigger is consulted when the trigger is added to the deferred queue(i.e. when the event occurs that fires the trigger), not when thedeferred event is executed.No regression tests, as another bug prevents them (the pg_trigger rowfor a trigger is only loaded once per session, so any changes to it arenot noticed unless the client disconnects and reconnects).Neil Conway1 parentc9967a4 commitc77bc13
1 file changed
+31
-4
lines changedLines changed: 31 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
1456 | 1456 |
| |
1457 | 1457 |
| |
1458 | 1458 |
| |
1459 |
| - | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
1460 | 1462 |
| |
1461 | 1463 |
| |
1462 | 1464 |
| |
| |||
2323 | 2325 |
| |
2324 | 2326 |
| |
2325 | 2327 |
| |
| 2328 | + | |
2326 | 2329 |
| |
2327 | 2330 |
| |
2328 | 2331 |
| |
| |||
2359 | 2362 |
| |
2360 | 2363 |
| |
2361 | 2364 |
| |
| 2365 | + | |
| 2366 | + | |
| 2367 | + | |
| 2368 | + | |
| 2369 | + | |
| 2370 | + | |
| 2371 | + | |
| 2372 | + | |
| 2373 | + | |
| 2374 | + | |
| 2375 | + | |
| 2376 | + | |
| 2377 | + | |
| 2378 | + | |
| 2379 | + | |
| 2380 | + | |
| 2381 | + | |
| 2382 | + | |
| 2383 | + | |
| 2384 | + | |
2362 | 2385 |
| |
2363 |
| - | |
| 2386 | + | |
2364 | 2387 |
| |
2365 | 2388 |
| |
2366 | 2389 |
| |
| |||
2373 | 2396 |
| |
2374 | 2397 |
| |
2375 | 2398 |
| |
| 2399 | + | |
2376 | 2400 |
| |
2377 |
| - | |
2378 | 2401 |
| |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
2379 | 2406 |
| |
2380 | 2407 |
| |
2381 | 2408 |
| |
|
0 commit comments
Comments
(0)