Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id AF2191337B8A for ; Tue, 4 Jan 2011 10:08:07 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 82225-04 for ; Tue, 4 Jan 2011 14:07:56 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from intern.proventis.net (intern.proventis.net [85.182.161.50]) by mail.postgresql.org (Postfix) with ESMTP id 19C4F1337B82 for ; Tue, 4 Jan 2011 10:07:55 -0400 (AST) Received: from mail.proventis.net (unknown [192.168.22.239]) by intern.proventis.net (Postfix) with ESMTP id 2D5512C1A2; Tue, 4 Jan 2011 15:07:53 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.proventis.net (Postfix) with ESMTP id 1F366CAED0; Tue, 4 Jan 2011 15:07:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.proventis.net Received: from mail.proventis.net ([127.0.0.1]) by localhost (mail.proventis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X91x71dUBSU5; Tue, 4 Jan 2011 15:07:34 +0100 (CET) Received: from [192.168.22.130] (tmarkus.proventis.net [192.168.22.130]) by mail.proventis.net (Postfix) with ESMTP id BF541CAE6D; Tue, 4 Jan 2011 15:07:34 +0100 (CET) Message-ID: <4D2329A7.5000905@proventis.net> Date: Tue, 04 Jan 2011 15:07:35 +0100 From: Thomas Markus Organization: proventis GmbH User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Lightning/1.0b2 Mnenhy/0.8.3 Thunderbird/3.1.7 MIME-Version: 1.0 To: Victor Hugo dos Santos CC: pgsql-admin@postgresql.org Subject: Re: ERROR: invalid memory alloc request size 4294967293 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201101/29 X-Sequence-Number: 36469 hi, looks like a 32bit version so 4294967293 is too much (4GB). Use a 64bit version regards Thomas Am 04.01.2011 14:48, schrieb Victor Hugo dos Santos: > Hello, > > Actually I use postgresql version 8.4.6-0ubuntu10.04 in bacula server > to save information about backups from bacula. > But, 2 days ago, the postgresql make a error when I run the command > pg_dump. This is the error: > > ==================== > 02-Jan 06:32 bacula-dir JobId 31005: BeforeJob: pg_dump: SQL command failed > 02-Jan 06:32 bacula-dir JobId 31005: BeforeJob: pg_dump: Error message > from server: ERROR: invalid memory alloc request size 4294967293 > 02-Jan 06:32 bacula-dir JobId 31005: BeforeJob: pg_dump: The command > was: COPY public.file (fileid, fileindex, jobid, pathid, filenameid, > markid, lstat, md5) TO stdout; > 02-Jan 06:32 bacula-dir JobId 31005: BeforeJob: pg_dumpall: pg_dump > failed on database "bacula", exiting > ====================