Re: Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jayashankar K B <Jayashankar(dot)KB(at)lnties(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8
Date: 2012-02-24 23:54:00
Message-ID: 3881.1330127640@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-performance

Jayashankar K B <Jayashankar(dot)KB(at)lnties(dot)com> writes:
> I tried to apply the patch. I succeeded in patching configure, configure.in and src/include/pg_config.h.in files.
> But while applying the patch for src/include/storage/s_lock.h , I am getting an error.

That patch should apply exactly to 9.1.0 or later. I think either you
messed up copying the patch from the web page (note that patch is not
forgiving about white space...) or else perhaps fooling with the file
names messed it up. You shouldn't have to modify the file taken from
the "patch" link at all. The right way to do it is to cd into the
top source directory and use
patch -p1 <patchfile
which will tell patch how much of the filename to pay attention to
(viz, not the "a/" or "b/" parts).

If you get too frustrated, just wait till Monday and grab 9.1.3.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2012-02-24 23:58:35 Re: Behavior of subselects in target lists and order by
Previous Message Jayashankar K B 2012-02-24 22:42:29 Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8

Browse pgsql-performance by date

  From Date Subject
Next Message Jeff Janes 2012-02-25 19:17:57 Re: Very long deletion time on a 200 GB database
Previous Message Cherio 2012-02-24 22:46:23 Joining tables by UUID field - very slow