From: Tom Lane <tgl@sss.pgh.pa.us>
To: Victor Hugo dos Santos <listas.vhs@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: ERROR: invalid memory alloc request size 4294967293
Date: Tue, 04 Jan 2011 17:02:41 -0500
Message-ID: <16074.1294178561@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTimm76jZBdymSgxGhshRy8hxeA7izeT_EA2Q0_Q9@mail.gmail.com>
References: <AANLkTik88wGQ6h-xFHJBU_Fj_CnXK5LX7aBws_2oANKP@mail.gmail.com>
<4D2329A7.5000905@proventis.net>
<AANLkTimHEH_k04hE_SYreHLGuq_WY0ORnA901B68HOnr@mail.gmail.com>
<AANLkTikqYt70QE_dYCe+cF9S1m8Gb3=MCqddVY_cOmpw@mail.gmail.com>
<10601.1294157106@sss.pgh.pa.us>
<AANLkTimm76jZBdymSgxGhshRy8hxeA7izeT_EA2Q0_Q9@mail.gmail.com>
Victor Hugo dos Santos <listas.vhs@gmail.com> writes:
> On Tue, Jan 4, 2011 at 1:05 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> It looks like a corrupted-data problem from here. You need to isolate
>> and delete the bad row(s).
> # su - postgres -c "psql bacula -c 'SELECT md5 from public.file OFFSET
> 1417610 LIMIT 1'"
> server closed the connection unexpectedly
So you've got some rows that are corrupted badly enough to crash the
backend :-(.
> In others words.. if I run the same command two times, I get a error,
> and if I rerun the same command, work !!!
When you're running long seqscans like these, you need to turn off
"synchronize_seqscans" to get reproducible results. With that flag
turned on, scans may start from somewhere in the middle of the table
instead of always starting from the beginning.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, listas.vhs@gmail.com
Subject: Re: ERROR: invalid memory alloc request size 4294967293
In-Reply-To: <16074.1294178561@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox