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