How can I print bytea data as a hexadecimal string in PostgreSQL / pgAdmin III?
hex, pgadmin, postgresql
Solution
Based on this answer, I found my solution to be
SELECT encode(my_column::bytea, 'hex') FROM my_table;
Problem
I have a fairly short (14-byte) `bytea` data column in my database. I would like to print it as a hexadecimal string. How do I do that?