How can I print bytea data as a hexadecimal string in PostgreSQL / pgAdmin III?
Solution 1:
Based on this answer, I found my solution to be
SELECT encode(my_column::bytea, 'hex') FROM my_table;
Based on this answer, I found my solution to be
SELECT encode(my_column::bytea, 'hex') FROM my_table;