The following lines are used to determine whether to add a change to the queue.
Instead of return when the table is not in self.tables, it should be continue.
Otherwise if the first change's table is not in the list of tables, it will ignore all other changes.
The following lines are used to determine whether to add a change to the queue. Instead of
return
when the table is not inself.tables
, it should becontinue
. Otherwise if the first change's table is not in the list of tables, it will ignore all other changes.https://github.com/long2ice/meilisync/blob/e1444185f52712969a04903e0195dbec9c2559df/meilisync/source/postgres.py#L94-L98
For example if
self.tables = ["bar"]
, then the following replication message would be ignored: