BUG #5557: Problema com Bytea

Lists: pgsql-bugs
From: "Rafael Almeida" <rafael(at)rafaeldeveloper(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #5557: Problema com Bytea
Date: 2010-07-13 02:07:49
Message-ID: 201007130207.o6D27nup099167@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 5557
Logged by: Rafael Almeida
Email address: rafael(at)rafaeldeveloper(dot)com
PostgreSQL version: 9.0
Operating system: Windows XP
Description: Problema com Bytea
Details:

Ae amigos, Bom estive testando a nova versão do postgresql 9.0 detectei um
bug, ou foi modificado a estrutura do campo bitea e não colocaram na
documentação, sou programador C# na versão 8.4 consigo gravar imagens no
campo bytea e recuperar normal. já na versão 9.0 gravo, mais o retorno é
diferente... ou seja... funciona no 8.4 e no 9.0 bug.


From: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
To: Rafael Almeida <rafael(at)rafaeldeveloper(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5557: Problema com Bytea
Date: 2010-07-14 00:39:40
Message-ID: AANLkTinee2bQYhOJ3G6D76humeVxTUt7Tue8moLUrcCQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

On Tue, Jul 13, 2010 at 4:07 AM, Rafael Almeida
<rafael(at)rafaeldeveloper(dot)com> wrote:
>
> The following bug has been logged online:
>
> Bug reference:      5557
> Logged by:          Rafael Almeida
> Email address:      rafael(at)rafaeldeveloper(dot)com
> PostgreSQL version: 9.0
> Operating system:   Windows XP
> Description:        Problema com Bytea
> Details:
>
> Ae amigos, Bom estive testando a nova versão do postgresql 9.0 detectei um
> bug, ou foi modificado a estrutura do campo bitea e não colocaram na
> documentação, sou programador C# na versão 8.4 consigo gravar imagens no
> campo bytea e recuperar normal. já na versão 9.0 gravo, mais o retorno é
> diferente... ou seja... funciona no 8.4 e no 9.0 bug.
>

Espero que entiendas español, mi portugues ha de ser ofensivo a tus ojos ;)
por favor, podrias enviarnos un ejemplo del problema que tienes (en
codigo me refiero)? puede ser un ejemplo simplificado con solo el
ejemplo basico que funciona en 8.4 y no en 9.0
otra cosa 9.0 esta en version beta y acaba de salir el beta3, podrias
probar con ese a ver si aun tienes el error?
estas usando npgsql para conectarte?

for the list:
while this is an english list this is reporting a bug in 9.0 so maybe
is fine to manage it here (please, if anyone think it's not tell that)
i will try to act as a translator unless someone with better
portuguese step up.

he's saying that some code for retrieving bytea that works in 8.4
doesn't work in 9.0, so i ask him some code to try... anyone remeber
some change in that area or in an area that could affect the npgsql
driver?

--
Jaime Casanova         www.2ndQuadrant.com
Soporte y capacitación de PostgreSQL


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jaime Casanova <jaime(at)2ndquadrant(dot)com>
Cc: Rafael Almeida <rafael(at)rafaeldeveloper(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5557: Problema com Bytea
Date: 2010-07-14 01:11:30
Message-ID: 21133.1279069890@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

Jaime Casanova <jaime(at)2ndquadrant(dot)com> writes:
> he's saying that some code for retrieving bytea that works in 8.4
> doesn't work in 9.0, so i ask him some code to try... anyone remeber
> some change in that area or in an area that could affect the npgsql
> driver?

Per previous response: the default text output format for bytea is
different in 9.0 ... is that it?

regards, tom lane