změňte bytea_output='escape' v postgresql.conf nebo spusťte toto ALTER DATABASE název_databáze SET bytea_output TO 'únik';