eulerto / wal2json

JSON output plugin for changeset extraction
BSD 3-Clause "New" or "Revised" License
1.33k stars 161 forks source link

bytea data not properly decoded #25

Closed rugging24 closed 7 years ago

rugging24 commented 7 years ago

Hello, I recently found out that bytea columns are not properly decoded. The bytea data comes in some strange decoding that is not in any way similar to the source data.

Could this be some kind of bug ?

cheers .

rugging24

eulerto commented 7 years ago

Seems the same as #23. I'll work on a fix.

rugging24 commented 7 years ago

I found a workaround to this by not decoding the streams obtained with wal2json.

If it helps, am using the streaming protocol from psycopg2 and essentially set the decode flag False.