bytea_output default value change in 9.0 breaks Apache::Session::Postgres

From: Rajesh Kumar Mallah <mallah(dot)rajesh(at)gmail(dot)com>
To: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: bytea_output default value change in 9.0 breaks Apache::Session::Postgres
Date: 2010-10-05 18:12:00
Message-ID: AANLkTikkE-jQ9srZ9VL1JuJ5h=UCutx8ZLim+OfQ1T4z@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vick Khera 2010-10-05 18:16:08 Re: Need the binary of PG9.0 for Windows 32bit
Previous Message Rajesh Kumar Mallah 2010-10-05 18:00:56 Re: Non-standard escape sequences from Crystal Reports