diff --git a/src/backend/replication/logical/conflict.c b/src/backend/replication/logical/conflict.c index cbfa317e09a..e2900577741 100644 --- a/src/backend/replication/logical/conflict.c +++ b/src/backend/replication/logical/conflict.c @@ -69,14 +69,10 @@ typedef struct ConflictLogColumnDef * scalar columns (relid, conflict_type, commit timestamp) while these json * columns are per-conflict payload to inspect, not search keys. * - * The 'local_conflicts' column is typed as an array of JSON objects (json[]) - * rather than a single json object to keep the exposed schema future-proof. - * Although currently only resolved LOG-level conflicts (which involve a single - * local row) are recorded in this table, future capabilities (such as conflict - * resolution handlers or logging multi-row constraint conflicts) may need to - * record multiple conflicting local rows for a single remote operation. - * Defining it as an array from the start keeps the table schema stable and - * avoids backward-incompatible schema changes or complex upgrade handling later. + * 'local_conflicts' is typed as an array of JSON objects (json[]), not a + * single json object, so that a future conflict type needing to record + * multiple local rows for one remote operation doesn't require a + * backward-incompatible schema change. */ static const ConflictLogColumnDef ConflictLogSchema[] = { {.attname = "relid", .atttypid = OIDOID},