pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
PG Patch
4+ messages / 4 participants
[nested] [flat]

* PG Patch
@ 2009-03-31 08:21  Marc Abbott <MarcA@Medscheme.co.za>
  0 siblings, 2 replies; 4+ messages in thread

From: Marc Abbott @ 2009-03-31 08:21 UTC (permalink / raw)
  To: pgsql-admin


This email is subject to a disclaimer which may be found by connecting to www.medscheme.co.za and clicking on the "Terms of Use" link.
Alternatively, the disclaimer can be emailed to you by sending a blank email to "meds_disclaimer@medscheme.co.za".
 
---------------------------------------------------------------------------------------------------------------------------------
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/vacu
umlazy.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.

 

Regards

Marc

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: PG Patch
@ 2009-03-31 14:04  Scott Marlowe <scott.marlowe@gmail.com>
  parent: Marc Abbott <MarcA@Medscheme.co.za>
  1 sibling, 1 reply; 4+ messages in thread

From: Scott Marlowe @ 2009-03-31 14:04 UTC (permalink / raw)
  To: Marc Abbott <MarcA@medscheme.co.za>; +Cc: pgsql-admin

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&am...
>
> 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?



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: PG Patch
@ 2009-03-31 14:05  Emanuel Calvo Franco <postgres.arg@gmail.com>
  parent: Marc Abbott <MarcA@Medscheme.co.za>
  1 sibling, 0 replies; 4+ messages in thread

From: Emanuel Calvo Franco @ 2009-03-31 14:05 UTC (permalink / raw)
  To: pgsql-admin

2009/3/31 Marc Abbott <MarcA@medscheme.co.za>:
> This email is subject to a disclaimer which may be found on our website by
> clicking on this link: disclaimer. If you would prefer, the disclaimer can
> be emailed to you by clicking here.
> 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&am...
> Where can I find this patch and is there a specific way to apply the patch?

with the command patch -p0 if you have linux. You must create a mirror
of the directory
that contains the postgresql source.

> Your help is appreciated.
>
>
>
> Regards
>
> Marc



-- 
      Emanuel Calvo Franco
        Sumate al ARPUG !
      (www.postgres-arg.org -
         www.arpug.com.ar)
    ArPUG / AOSUG Member
   Postgresql Support & Admin



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: PG Patch
@ 2009-03-31 14:24  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Scott Marlowe <scott.marlowe@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2009-03-31 14:24 UTC (permalink / raw)
  To: Scott Marlowe <scott.marlowe@gmail.com>; +Cc: Marc Abbott <MarcA@medscheme.co.za>; pgsql-admin

Scott Marlowe <scott.marlowe@gmail.com> writes:
> On Tue, Mar 31, 2009 at 2:21 AM, Marc Abbott <MarcA@medscheme.co.za> wrote:
>> http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/vacuumlazy.c.diff?r1=1.61.2.1&am...

> 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?

That commit is three years old; if you are running a version that doesn't
include it, there is more than reason enough for an update.

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2009-03-31 14:24 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-03-31 08:21 PG Patch Marc Abbott <MarcA@Medscheme.co.za>
2009-03-31 14:04 ` Scott Marlowe <scott.marlowe@gmail.com>
2009-03-31 14:24   ` Tom Lane <tgl@sss.pgh.pa.us>
2009-03-31 14:05 ` Emanuel Calvo Franco <postgres.arg@gmail.com>

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