First, you need
PGLobEditor is a database tool that can batch import/export PostgreSQL BYTEA (BLOB) data.
Using PGLobEditor you can batch update BYTEA (BLOB) data to PostgreSQL easily and fast.
More about PGLobEditor – the tool to batch import/export PostgreSQL BYTEA (BLOB) data