Skip to content

Commit 2d09e44

Browse files
author
Amit Kapila
committed
Improve comments for row filtering and toast interaction in logical replication.
Reported-by: Antonin Houska Author: Amit Kapila Reviewed-by: Antonin Houska, Ajin Cherian Discussion: https://postgr.es/m/84638.1649152255@antos
1 parent 17a856d commit 2d09e44

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/backend/replication/pgoutput/pgoutput.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,10 +1237,11 @@ pgoutput_row_filter(Relation relation, TupleTableSlot *old_slot,
12371237
* For inserts, we only have the new tuple.
12381238
*
12391239
* For updates, we can have only a new tuple when none of the replica
1240-
* identity columns changed but we still need to evaluate the row filter
1241-
* for new tuple as the existing values of those columns might not match
1242-
* the filter. Also, users can use constant expressions in the row filter,
1243-
* so we anyway need to evaluate it for the new tuple.
1240+
* identity columns changed and none of those columns have external data
1241+
* but we still need to evaluate the row filter for the new tuple as the
1242+
* existing values of those columns might not match the filter. Also, users
1243+
* can use constant expressions in the row filter, so we anyway need to
1244+
* evaluate it for the new tuple.
12441245
*
12451246
* For deletes, we only have the old tuple.
12461247
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy