Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 22B65633D50 for ; Tue, 31 Mar 2009 11:04:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 64333-04 for ; Tue, 31 Mar 2009 11:04:41 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mail.postgresql.org (Postfix) with ESMTP id 64541633D58 for ; Tue, 31 Mar 2009 11:04:40 -0300 (ADT) Received: by ey-out-2122.google.com with SMTP id 22so469613eye.61 for ; Tue, 31 Mar 2009 07:04:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=pRXvqggWY1UTE5nNzlvf5fO6oFBCRNfDuPQ0C2rEmHQ=; b=w83CHp9u0yxh1InaZYSzs9E7wLcfOpz5BTG2v1l+YulJ2pv1vQBIo6XQR0seObywF3 LB/afuyYbiVKtvylXOy+YuEAwtmNRcIa5H2MTJHg2GNqpzKVURHMF4AOCx5mJDZ9D/b0 e8JBS38Vmw+i0PLYoqQrFdOJ8cWIOdwjruc/g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=MmeenYznIpA4WTmSn5S0H6bF8MXuirk8cv6YQpp/CC7WGZkPoXkocjWDcpQUtTLtCq +SKv+CLObxE7tV2Tc68BUDy9BxGCMrMqFxAAPw6BzaQcpEO4/hnUVuemx5hA37dMU2En cGqOQCS3/pLyhDplT9hVyqtLPIYjiyVEin8zM= MIME-Version: 1.0 Received: by 10.210.105.8 with SMTP id d8mr5032574ebc.84.1238508278639; Tue, 31 Mar 2009 07:04:38 -0700 (PDT) In-Reply-To: <8AA3A01FBF1D6543A03A3774AFDD8462014D00C7@ZARDPEXCH001.medscheme.com> References: <8AA3A01FBF1D6543A03A3774AFDD8462014D00C7@ZARDPEXCH001.medscheme.com> Date: Tue, 31 Mar 2009 08:04:38 -0600 Message-ID: Subject: Re: PG Patch From: Scott Marlowe To: Marc Abbott Cc: pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/262 X-Sequence-Number: 31762 On Tue, Mar 31, 2009 at 2:21 AM, Marc Abbott wrote: > Hi > > We have detected the following error in out PG logs: > > SASTERROR:=A0 invalid memory alloc request size 4294967294. > > I have searched for the error and was pointed to a patch on the following > link: > > http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/vacuu= mlazy.c.diff?r1=3D1.61.2.1&r2=3D1.61.2.2 > > Where can I find this patch and is there a specific way to apply the patc= h? > > Your help is appreciated. That IS the patch. However, why are you trying to patch pgsql by hand? Seems a hard way to do things. What version of pgsql are you running and have you tried just updating to the latest release in your branch?