pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shoaib Mir <shoaibmir@gmail.com>
To: airbulb <airbulb@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Unable to pg_dump 8.1.2 - memory alloc error
Date: Tue, 6 Feb 2007 14:51:35 +0500
Message-ID: <bf54be870702060151u4efb6ccdi99b9d32e583e3489@mail.gmail.com> (raw)
In-Reply-To: <896477840701311014t21d07275kd2bd5c01b9a92b67@mail.gmail.com>
References: <896477840701311014t21d07275kd2bd5c01b9a92b67@mail.gmail.com>

Hmmm that looks like to me a HW problem causing data corruption. Try doing a
REINDEX for the database, if possible restart the database server machine
and then try taking the dump again to see if that works.

But I will recommend doing memory tests for the hardware...

--
Shoaib Mir
EnterpriseDB (www.enterprisedb.com)

On 1/31/07, airbulb <airbulb@gmail.com> wrote:
>
> Hello
>
> I get the following error when dumping a pg database with WIN_1252
> encoding:
>
> pg_dump --clean --no-owner dumpfile | gzip
> >/home/postgres/globalen.dump.gz 2>>./err.out
>
> pg_dump: ERROR:  invalid memory alloc request size 4294967293
> pg_dump: SQL command to dump the contents of table "site" failed:
> PQendcopy() failed.
> pg_dump: Error message from server: ERROR:  invalid memory alloc request
> size 4294967293
> pg_dump: The command was: COPY public.site (site_id, url, status, created,
> "domain", title) TO stdout;
>
> Possibly related is a particular query with pgAdmin on same site table
> with above error yields
> ERROR:  invalid multibyte character for locale
>
> I have upgraded from 8.1.2 to 8.1.6 but get the same error.
>
> Any help appreciated.
>
> Regards,
> David.
>

view thread (3+ messages)  latest in thread

Message-ID: <bf54be870702060151u4efb6ccdi99b9d32e583e3489@mail.gmail.com>
Permalink:  ../bf54be870702060151u4efb6ccdi99b9d32e583e3489@mail.gmail.com/
Also on:    postgresql.org/message-id/bf54be870702060151u4efb6ccdi99b9d32e583e3489@mail.gmail.com

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: shoaibmir@gmail.com, airbulb@gmail.com
  Subject: Re: Unable to pg_dump 8.1.2 - memory alloc error
  In-Reply-To: <bf54be870702060151u4efb6ccdi99b9d32e583e3489@mail.gmail.com>
  References: <896477840701311014t21d07275kd2bd5c01b9a92b67@mail.gmail.com> <bf54be870702060151u4efb6ccdi99b9d32e583e3489@mail.gmail.com>

* 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