forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1c7a0b3
committed
Add missing break out seqscan loop in logical replication
When replica identity is FULL (an admittedly unusual case), the loopthat searches for tuples in execReplication.c didn't stop scanning thetable when once a matching tuple was found. Add the missing 'break'.Note slight behavior change: we now return the first matching tuplerather than the last one. They are supposed to be indistinguishableanyway, so this shouldn't matter.Author: Konstantin KnizhnikDiscussion:https://postgr.es/m/379743f6-ae91-b866-f7a2-5624e6d2b0a4@postgrespro.ru1 parentf1f10a1 commit1c7a0b3
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
327 | 327 |
| |
328 | 328 |
| |
329 | 329 |
| |
| 330 | + | |
| 331 | + | |
| 332 | + | |
330 | 333 |
| |
331 | 334 |
| |
332 | 335 |
| |
|
0 commit comments
Comments
(0)