HowTo make Wiki history working with Postgres 90 » History » Version 1
HowTo make Wiki history working with Postgres 9.0¶
PostgreSQL 9 introduced a new 'hex' format for bytea data input and output. Default for output is now hex, but it can be easily reverted to the old 'escape' format with the following command:
ALTER DATABASE redmine SET bytea_output TO 'escape';
See also #7677.