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

Amit Kapila
Ignore generated columns during apply of update/delete.
We fail to apply updates and deletes when the REPLICA IDENTITY FULL isused for the table having generated columns. We didn't use to ignoregenerated columns while doing tuple comparison among the tuples fromthe publisher and subscriber during apply of updates and deletes.Author: Onder KalaciReviewed-by: Shi yu, Amit KapilaBackpatch-through: 12Discussion:https://postgr.es/m/CACawEhVQC9WoofunvXg12aXtbqKnEgWxoRx3+v8q32AWYsdpGg@mail.gmail.com1 parent488ace3 commit0f2d4ad
File tree
2 files changed
+17
-6
lines changed- src
- backend/executor
- test/subscription/t
2 files changed
+17
-6
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
245 | 245 |
| |
246 | 246 |
| |
247 | 247 |
| |
248 |
| - | |
| 248 | + | |
| 249 | + | |
249 | 250 |
| |
250 |
| - | |
| 251 | + | |
251 | 252 |
| |
252 | 253 |
| |
253 | 254 |
| |
|
Lines changed: 14 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3 | 3 |
| |
4 | 4 |
| |
5 | 5 |
| |
6 |
| - | |
| 6 | + | |
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
| |||
180 | 180 |
| |
181 | 181 |
| |
182 | 182 |
| |
183 |
| - | |
184 |
| - | |
| 183 | + | |
| 184 | + | |
185 | 185 |
| |
186 | 186 |
| |
187 | 187 |
| |
| |||
194 | 194 |
| |
195 | 195 |
| |
196 | 196 |
| |
197 |
| - | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
198 | 200 |
| |
199 | 201 |
| |
| 202 | + | |
200 | 203 |
| |
201 | 204 |
| |
202 | 205 |
| |
203 | 206 |
| |
204 | 207 |
| |
| 208 | + | |
205 | 209 |
| |
206 | 210 |
| |
207 | 211 |
| |
| |||
224 | 228 |
| |
225 | 229 |
| |
226 | 230 |
| |
| 231 | + | |
227 | 232 |
| |
228 | 233 |
| |
229 | 234 |
| |
| |||
232 | 237 |
| |
233 | 238 |
| |
234 | 239 |
| |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
235 | 245 |
| |
236 | 246 |
|
0 commit comments
Comments
(0)