-
Notifications
You must be signed in to change notification settings - Fork 120
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
Unexpected encoding of a boolean value in a table referenced by an FK #1185
Comments
I have traced the origin of the
The JSON-encoded
And |
The setup is simple:
items
andsubitems
subitems
has an FK reference toitems
via theitem_id
columnsubitems
and includeitems
items
, populating its boolean column with eithertrue
orfalse
subitems
that references the above row fromitems
items
has its boolean value encoded as a full word,"true"
or"false"
, which results in a decoding errorThis doesn't occur during the initial sync and only occurs for rows of a referenced table that are streamed to the client during regular replication (after the initial sync has finished).
Postgres schema:
Client subscription:
Inserts in Postgres:
Client log:
The text was updated successfully, but these errors were encountered: