forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd2169c9

Amit Kapila
Fix the incorrect assertion introduced in commit7f13ac8.
It has been incorrectly assumed in commit7f13ac8 that we can eitherpurge all or none in the catalog modifying xids list retrieved from aserialized snapshot. It is quite possible that some of the xids in thatarray are old enough to be pruned but not others.As per buildfarmAuthor: Amit Kapila and Masahiko SawadaReviwed-by: Masahiko SawadaDiscussion:https://postgr.es/m/CAA4eK1LBtv6ayE+TvCcPmC-xse=DVg=SmbyQD1nv_AaqcpUJEg@mail.gmail.com1 parent8c7fc86 commitd2169c9
File tree
3 files changed
+106
-20
lines changed- contrib/test_decoding
- expected
- specs
- src/backend/replication/logical
3 files changed
+106
-20
lines changedLines changed: 55 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + |
Lines changed: 20 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
| 6 | + | |
6 | 7 |
| |
| 8 | + | |
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
10 | 12 |
| |
11 | 13 |
| |
| 14 | + | |
12 | 15 |
| |
13 | 16 |
| |
14 | 17 |
| |
| |||
26 | 29 |
| |
27 | 30 |
| |
28 | 31 |
| |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
29 | 38 |
| |
30 | 39 |
| |
31 | 40 |
| |
| |||
37 | 46 |
| |
38 | 47 |
| |
39 | 48 |
| |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + |
Lines changed: 31 additions & 19 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
969 | 969 |
| |
970 | 970 |
| |
971 | 971 |
| |
972 |
| - | |
973 |
| - | |
974 |
| - | |
975 |
| - | |
976 |
| - | |
977 |
| - | |
978 |
| - | |
979 |
| - | |
| 972 | + | |
| 973 | + | |
980 | 974 |
| |
981 |
| - | |
982 |
| - | |
983 |
| - | |
984 |
| - | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
985 | 987 |
| |
986 |
| - | |
987 |
| - | |
988 |
| - | |
989 |
| - | |
990 |
| - | |
| 988 | + | |
991 | 989 |
| |
992 |
| - | |
993 |
| - | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
994 | 1006 |
| |
995 | 1007 |
| |
996 | 1008 |
| |
|
0 commit comments
Comments
(0)