Re: ERROR: invalid memory alloc request size 4294967293

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Victor Hugo dos Santos <listas.vhs@xxxxxxxxx> writes:
> On Tue, Jan 4, 2011 at 1:05 PM, Tom Lane <tgl@xxxxxxxxxxxxx> 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

-- 
Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux