Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlvaro Herrera2020-02-03 21:59:12 +0000
committerAlvaro Herrera2020-02-03 21:59:12 +0000
commit1c7a0b387d18c517d45e2f6ec7d8b7d1b2d5fe13 (patch)
treea4227d462e5791e710e1fd36500e869108085c8e /src/test/perl/PostgresNode.pm
parentf1f10a1ba9e17e606a7b217ccccdd3cc4d8cb771 (diff)
Add missing break out seqscan loop in logical replication
When replica identity is FULL (an admittedly unusual case), the loop that searches for tuples in execReplication.c didn't stop scanning the table when once a matching tuple was found. Add the missing 'break'. Note slight behavior change: we now return the first matching tuple rather than the last one. They are supposed to be indistinguishable anyway, so this shouldn't matter. Author: Konstantin Knizhnik Discussion: https://postgr.es/m/379743f6-ae91-b866-f7a2-5624e6d2b0a4@postgrespro.ru
Diffstat (limited to 'src/test/perl/PostgresNode.pm')
0 files changed, 0 insertions, 0 deletions