Greg Stark <gsstark@xxxxxxx> writes: > Didn't byteas used to get printed as hex? No, not that I recall. I don't have anything older than 7.0 running, but it behaves the same as now: play=> select 'xyz\\001'::bytea; ?column? ---------- xyz\001 (1 row) play=> regards, tom lane