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

2012-02-27 Thread Merlin Moncure
On Sun, Feb 26, 2012 at 6:16 AM, Jayashankar K B wrote: > Ok. I did a manual patch and it Postgres 9.1.1 compiled for me without using > the --disable-spinlocks option. > Thanks a lot for the patch. :) > By the way, could you please point me to the explanation on the significance > of spinlocks

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

2012-02-26 Thread Jayashankar K B
Message- From: Tom Lane [mailto:t...@sss.pgh.pa.us] Sent: 25 February 2012 PM 12:54 To: Jayashankar K B Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8 Jayashankar K B writes: > I tried to apply the patch

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

2012-02-24 Thread Tom Lane
Jayashankar K B 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 ei

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

2012-02-24 Thread Jayashankar K B
Hi Tom, 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. This is how I am doing the patch, 1. I copied the diff output given in the link m

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

2012-02-23 Thread Merlin Moncure
On Thu, Feb 23, 2012 at 3:09 PM, Jayashankar K B wrote: > Hi Tom, > > Sorry about the cross-post. > I am not aware of the procedures for patch etc. > Could you please tell me how to use the patch ? see general instructions here: http://jungels.net/articles/diff-patch-ten-minutes.html merlin --

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

2012-02-23 Thread Jayashankar K B
Hi Tom, Sorry about the cross-post. I am not aware of the procedures for patch etc. Could you please tell me how to use the patch ? I have already compiled and got the postgres server. So please let me know the process of patching or kindly point me to a link which explain this. Thanks and Regar