bytea_output default value change in 9.0 breaks Apache::Session::Postgres - Mailing list pgsql-general

From Rajesh Kumar Mallah
Subject bytea_output default value change in 9.0 breaks Apache::Session::Postgres
Date
Msg-id AANLkTikkE-jQ9srZ9VL1JuJ5h=UCutx8ZLim+OfQ1T4z@mail.gmail.com
Whole thread Raw
Responses Re: bytea_output default value change in 9.0 breaks Apache::Session::Postgres
List pgsql-general
Dear List ,

recent change of bytea_output format from escape to hex in 9.0 apparently breaks
popular persistent session handling perl modules like Apache::Session::Postgres
which stores pickled data structures in bytea columns of db table.
It is difficult to guess the root cause from the exception thrown by
the said module.
The problem is fixed by adding
bytea_output='escape'  in postgresql.conf
and issuing a pg_ctl reload.


Eg in RT application the error is:
error:  RT couldn't store your session.
This may mean that that the directory /blah/blah/foo/bar isn't
writable or a database table is missing or corrupt

Regds
Rajesh Kumar Mallah.

pgsql-general by date:

Previous
From: Rajesh Kumar Mallah
Date:
Subject: Re: Non-standard escape sequences from Crystal Reports
Next
From: Vick Khera
Date:
Subject: Re: Need the binary of PG9.0 for Windows 32bit