2015年6月16日火曜日

PostgreSQL 格納した文字列のエンコード

select encode('-'::bytea,'hex') , '-'
select encode('~'::bytea,'hex') , '~'