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

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 parentecb6965 commitadedf54
File tree
2 files changed
+16
-5
lines changed- src
- backend/executor
- test/subscription/t
2 files changed
+16
-5
lines changedLines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
292 | 292 |
| |
293 | 293 |
| |
294 | 294 |
| |
295 |
| - | |
| 295 | + | |
| 296 | + | |
296 | 297 |
| |
297 |
| - | |
| 298 | + | |
298 | 299 |
| |
299 | 300 |
| |
300 | 301 |
| |
|
Lines changed: 13 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
377 | 377 |
| |
378 | 378 |
| |
379 | 379 |
| |
380 |
| - | |
381 |
| - | |
| 380 | + | |
| 381 | + | |
382 | 382 |
| |
383 | 383 |
| |
384 | 384 |
| |
| |||
389 | 389 |
| |
390 | 390 |
| |
391 | 391 |
| |
392 |
| - | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
393 | 395 |
| |
394 | 396 |
| |
| 397 | + | |
395 | 398 |
| |
396 | 399 |
| |
397 | 400 |
| |
398 | 401 |
| |
399 | 402 |
| |
| 403 | + | |
400 | 404 |
| |
401 | 405 |
| |
402 | 406 |
| |
| |||
417 | 421 |
| |
418 | 422 |
| |
419 | 423 |
| |
| 424 | + | |
420 | 425 |
| |
421 | 426 |
| |
422 | 427 |
| |
| |||
425 | 430 |
| |
426 | 431 |
| |
427 | 432 |
| |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
428 | 438 |
| |
429 | 439 |
| |
430 | 440 |
| |
|
0 commit comments
Comments
(0)