mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
Message wording improvements
Use "row" instead of "tuple" for user-facing information for logical replication conflicts.
This commit is contained in:
@@ -852,10 +852,10 @@ ExecSimpleRelationInsert(ResultRelInfo *resultRelInfo,
|
||||
conflictindexes, false);
|
||||
|
||||
/*
|
||||
* Checks the conflict indexes to fetch the conflicting local tuple
|
||||
* and reports the conflict. We perform this check here, instead of
|
||||
* Checks the conflict indexes to fetch the conflicting local row and
|
||||
* reports the conflict. We perform this check here, instead of
|
||||
* performing an additional index scan before the actual insertion and
|
||||
* reporting the conflict if any conflicting tuples are found. This is
|
||||
* reporting the conflict if any conflicting rows are found. This is
|
||||
* to avoid the overhead of executing the extra scan for each INSERT
|
||||
* operation, even when no conflict arises, which could introduce
|
||||
* significant overhead to replication, particularly in cases where
|
||||
|
||||
Reference in New Issue
Block a user