Skip to content

Instantly share code, notes, and snippets.

@hiroshi
Created August 30, 2012 02:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiroshi/3521852 to your computer and use it in GitHub Desktop.
Save hiroshi/3521852 to your computer and use it in GitHub Desktop.
ActiveRecord :binary type のカラムを psql でテキストに変換して見る ref: http://qiita.com/items/1f5a92b3537624ae897e
SELECT encode(bin,'escape') FROM t;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment