Re: Bytea error in PostgreSQL 9.0

From: "Francisco Figueiredo Jr(dot)" <francisco(at)npgsql(dot)org>
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:36:35
Message-ID: AANLkTi=3n4xpSnOYkZ5kQv2kB7PKcJxstdgoU9j=TWGT@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Latest Npgsql version 2.0.11 already has a fix to handle new bytea
representation.

Can you try with this version and see if it works ok?

I hope it helps.

On Tue, Dec 14, 2010 at 14:22, tuanhoanganh <hatuan05(at)gmail(dot)com> wrote:
> 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)
>
> Tuan Hoang Anh
>
> On Tue, Dec 14, 2010 at 8:55 PM, Ivan Voras <ivoras(at)freebsd(dot)org> wrote:
>>
>> On 14/12/2010 14:51, tuanhoanganh wrote:
>>>
>>> Thanks for your help.
>>> Is there any .Net or VB tutorial new 9.0 bytea?
>>
>> You do not need to change your code if you add
>>
>> bytea_output = 'escape'                 # hex, escape
>>
>> into postgresql.conf.
>>
>>
>>
>> --
>> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-general
>
>

--
Regards,

Francisco Figueiredo Jr.
Npgsql Lead Developer
http://www.npgsql.org
http://fxjr.blogspot.com
http://twitter.com/franciscojunior

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Massa, Harald Armin 2010-12-14 16:56:15 Re: queriing the version of libpq
Previous Message Vick Khera 2010-12-14 16:34:00 Re: Bytea error in PostgreSQL 9.0