Re: bytea corruption? - Mailing list pgsql-general

From Daniel Verite
Subject Re: bytea corruption?
Date
Msg-id f21c5eb8-777c-48ab-b4a0-a380bae5e32b@mm
Whole thread Raw
In response to Re: bytea corruption?  (Nathan Jahnke <njahnke@gmail.com>)
Responses Re: bytea corruption?  (Colin Streicher <colin@obviouslymalicious.com>)
List pgsql-general
    Nathan Jahnke wrote:

> thanks for your help. unfortunately i'm still getting corruption on
> this particular data (available at
> http://nate.quandra.org/data.bin.0.702601051229191 ) even with these
> changes:
>
> # ./bytea.pl
> Argument "DBD::Pg::PG_BYTEA" isn't numeric in subroutine entry at
> ./bytea.pl line 18.
> 37652cf91fb8d5e41d3a90ea3a22ea61 != ce3fc63b88993af73fb360c70b7ec965

Ah, you also need to add
use DBD::Pg;
at the beginning of the script for DBD::Pg::PG_BYTEA to be properly
evaluated.

Best regards,
--
 Daniel
 PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org

pgsql-general by date:

Previous
From: Nathan Jahnke
Date:
Subject: Re: bytea corruption?
Next
From: Sergey Samokhin
Date:
Subject: How to simulate crashes of PostgreSQL?