Re: Bytea error in PostgreSQL 9.0

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: tuanhoanganh <hatuan05(at)gmail(dot)com>
Cc: Ivan Voras <ivoras(at)freebsd(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: Bytea error in PostgreSQL 9.0
Date: 2010-12-14 16:30:53
Message-ID: 14183.1292344253@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

tuanhoanganh <hatuan05(at)gmail(dot)com> writes:
> Thanks for your answer. But I don't want to change db config or ALTER
> DATABASE data SET bytea_output='escape';
> I can change my app. So is there document introduce how to work with
> postgresql 9 bytea ( I don't want to user lo_create, lo_import. lo_export)

http://www.postgresql.org/docs/9.0/static/datatype-binary.html

See 8.4.1 versus 8.4.2 in particular.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vick Khera 2010-12-14 16:34:00 Re: Bytea error in PostgreSQL 9.0
Previous Message tuanhoanganh 2010-12-14 16:22:23 Re: Bytea error in PostgreSQL 9.0