Skip to content
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

Pushing binary/blob data gets currupted #117

Open
jisaacks opened this issue Aug 11, 2012 · 2 comments
Open

Pushing binary/blob data gets currupted #117

jisaacks opened this issue Aug 11, 2012 · 2 comments

Comments

@jisaacks
Copy link

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
@shtirlic
Copy link

Something about it here http://comments.gmane.org/gmane.comp.lang.ruby.sequel/1129

@will
Copy link

will commented Sep 3, 2013

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 heroku/heroku-pg-extras#42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants