FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Never output a leading comma before non-transactional messages by gclinch · Pull Request #101 · eulerto/wal2json · GitHub

Never output a leading comma before non-transactional messages - #101

Open
gclinch wants to merge 1 commit into
eulerto:masterfrom
gclinch:nr_changes
Open

gclinch wants to merge 1 commit into
eulerto:masterfrom
gclinch:nr_changes

Conversation

gclinch commented Feb 1, 2019

Copy link
Copy Markdown

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 commented Feb 18, 2019

Copy link
Copy Markdown
Author

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 added the bug label Mar 25, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL