Skip to content

Conversation

@edgurgel
Copy link
Member

@edgurgel edgurgel commented Nov 21, 2025

What kind of change does this PR introduce?

Subscriptions can filter by wal action. They can be *, INSERT, UPDATED or DELETE

  • add new tests
  • Update README.md

I also tried to fix the test workflow. I think it's doing the same work as before?

And with the help of Claude I added a docker compose, Dockerfile and a run-test.sh script to quickly run tests locally inside a container

What is the current behavior?

All actions are processed

What is the new behavior?

Subscription can filter by wal action

Additional context

Add any other context or screenshots.

Comment on lines +31 to +33
-- Filter by action early - only get subscriptions interested in this action
-- action_filter column can be: '*' (all), 'INSERT', 'UPDATE', or 'DELETE'
and (subs.action_filter = '*' or subs.action_filter = action::text);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new filter is here

@edgurgel edgurgel requested a review from olirice November 24, 2025 22:00
@edgurgel edgurgel marked this pull request as ready for review November 24, 2025 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants