I have an image database. With an image table with two bytea
columns. I would like to query the table and see these columns to be able to see whether or not these entries are storing images or not. As they are nullable columns.
Currently when I query the DB using psql command line, my whole command line screen goes blank trying to display the bytea.
I've googled around for a while now and can't find a way to display the table suitably. Ideally the first 'x' characters would display.
I can confirm that the bytea will print if small enough by uploading a tiny tiny picture.
This is what I see when I do: SELECT * FROM Image;