pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Add missing break out seqscan loop in logical replication
4+ messages / 1 participants
[nested] [flat]

* pgsql: Add missing break out seqscan loop in logical replication
@ 2020-02-03 22:00 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Alvaro Herrera @ 2020-02-03 22:00 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1c7a0b387d18c517d45e2f6ec7d8b7d1b2d5fe13

Modified Files
--------------
src/backend/executor/execReplication.c | 3 +++
1 file changed, 3 insertions(+)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Add missing break out seqscan loop in logical replication
@ 2020-02-03 22:00 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Alvaro Herrera @ 2020-02-03 22:00 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/42e3187a8204486823efe70a3ad6db6404047a02

Modified Files
--------------
src/backend/executor/execReplication.c | 3 +++
1 file changed, 3 insertions(+)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Add missing break out seqscan loop in logical replication
@ 2020-02-03 22:00 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Alvaro Herrera @ 2020-02-03 22:00 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/beefab6540deca589c2d9a1d0f91fd98f11d303a

Modified Files
--------------
src/backend/executor/execReplication.c | 3 +++
1 file changed, 3 insertions(+)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Add missing break out seqscan loop in logical replication
@ 2020-02-03 22:00 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 4+ messages in thread

From: Alvaro Herrera @ 2020-02-03 22:00 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/380bc8829594b27d0924e617ae705422ec53eca1

Modified Files
--------------
src/backend/executor/execReplication.c | 3 +++
1 file changed, 3 insertions(+)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2020-02-03 22:00 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-02-03 22:00 pgsql: Add missing break out seqscan loop in logical replication Alvaro Herrera <alvherre@alvh.no-ip.org>
2020-02-03 22:00 pgsql: Add missing break out seqscan loop in logical replication Alvaro Herrera <alvherre@alvh.no-ip.org>
2020-02-03 22:00 pgsql: Add missing break out seqscan loop in logical replication Alvaro Herrera <alvherre@alvh.no-ip.org>
2020-02-03 22:00 pgsql: Add missing break out seqscan loop in logical replication Alvaro Herrera <alvherre@alvh.no-ip.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox