forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit71dca40
committed
Don't propagate a null subtransaction snapshot up to parent transaction.
This oversight could cause logical decoding to fail to decode an outertransaction containing changes, if a subtransaction had an XID but noactual changes. Per bug #14279 from Marko Tiikkaja. Patch by Markobased on analysis by Andrew Gierth.Discussion: <20160804191757.1430.39011@wrigleys.postgresql.org>1 parentee5d1de commit71dca40
File tree
3 files changed
+40
-6
lines changed- contrib/test_decoding
- expected
- sql
- src/backend/replication/logical
3 files changed
+40
-6
lines changedLines changed: 23 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
10 | 9 |
| |
11 | 10 |
| |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
33 | 33 |
| |
34 | 34 |
| |
35 | 35 |
| |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
36 | 58 |
| |
37 | 59 |
| |
38 | 60 |
| |
|
Lines changed: 12 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
7 | 6 |
| |
8 | 7 |
| |
9 | 8 |
| |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
20 | 31 |
| |
21 | 32 |
| |
22 | 33 |
|
Lines changed: 5 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
744 | 744 |
| |
745 | 745 |
| |
746 | 746 |
| |
747 |
| - | |
| 747 | + | |
748 | 748 |
| |
749 | 749 |
| |
750 |
| - | |
| 750 | + | |
751 | 751 |
| |
752 |
| - | |
753 |
| - | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
754 | 755 |
| |
755 | 756 |
| |
756 | 757 |
| |
|
0 commit comments
Comments
(0)