Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@gclinch
Copy link

@gclinch gclinch commented Feb 1, 2019

Non-transactional messages can arrive after a transaction commit but before the next begin. nr_changes is only reset to zero in begin_txn. Perhaps it would be safer to reset nr_changes in commit_txn instead?

@gclinch
Copy link
Author

gclinch commented Feb 18, 2019

wal2json generates invalid json when a non-transactional message is received immediately after a transaction commit if the transaction contained more than one change.

@eulerto eulerto added the bug label Mar 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants