blind-oracle / psql-streamer

Stream database events from PostgreSQL to Kafka
Mozilla Public License 2.0
58 stars 13 forks source link

old values in the update event #1

Open mkabilov opened 5 years ago

mkabilov commented 5 years ago

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: https://github.com/blind-oracle/psql-streamer/blob/27c70ce78740dddb8dfbb4c0e58054bd04a06b57/source/postgres/postgres.go#L321-L324

blind-oracle commented 5 years ago

Hi. Will think about it :)