Hi,

Thanks for posting and updating patches. +1 to introduce the filter.
Few comments:

01.
```
/*
 * rlocator-based filter callback for REPACK (CONCURRENTLY)
 *
 * If the given RelFileLocator matches one of the locators being processed by
 * REPACK, return false to have this record be skipped by decoding.  Otherwise
 * return true.
 */
static bool
repack_filter_by_rlocator(struct LogicalDecodingContext *ctx,
                                                  RelFileLocator rlocator)
```

This comment seems opposite. According to the doc, the filter must return true
if the change is not needed.

02.
Should we add description for TOAST handling? Since the filter works for the
physical layer it may not be enough to check only the RelFileLocator of a main
relation.

Best regards,
Hayato Kuroda
FUJITSU LIMITED

Reply via email to