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

+5-4
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)