On Tue, Mar 31, 2009 at 2:21 AM, Marc Abbott <MarcA@medscheme.co.za> wrote:
> Hi
>
> We have detected the following error in out PG logs:
>
> SASTERROR: 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/vacuumlazy.c.diff?r1=1.61.2.1&r2=1.61.2.2
>
> Where can I find this patch and is there a specific way to apply the patch?
>
> 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?