Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

old values in the update event #1

Open
mkabilov opened this issue Apr 29, 2019 · 1 comment
Open

old values in the update event #1

mkabilov opened this issue Apr 29, 2019 · 1 comment

Comments

@mkabilov
Copy link

in case of update events sometimes it's useful to know which row is updated.
currently only new values will be stored in the event struct:

case pgoutput.Insert:
ev, err = s.generateEvent(event.ActionInsert, v.RelationID, v.Row)
case pgoutput.Update:
ev, err = s.generateEvent(event.ActionUpdate, v.RelationID, v.Row)

@blind-oracle
Copy link
Owner

Hi. Will think about it :)

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

No branches or pull requests

2 participants