I have a base with 500MB I consider small, but this is slow to open some tables, checking are tables that have Bytea field, the other programmer saved images in the bank, but it is unworkable to work, left the application slow, because sometimes the images are not treated and they are huge, in short, it is a situation that I can put the images in a directory, they are a table at the base.
Is there a way to give PostgreSQL a choice to show me which fields have Bytea type?