taps
taps copied to clipboard
Pushing binary/blob data gets currupted
I pushed some binary data from my local sqlite3 db to a postgres db on heroku.
The data integerity was not maintained.
The data is very long so I wont post it all but here are the first 20 chars before and after:
- Before: \x89PNG\r\n\x1A\n\x0
- After: x89504e470d0a1a0a000
Something about it here http://comments.gmane.org/gmane.comp.lang.ruby.sequel/1129
heroku db:push will soon be replaced with pg:push, which won't use taps, so it wouldn't have this problem. It'll have all of its own, new problems! If you want a preview check out https://github.com/heroku/heroku-pg-extras/issues/42