pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jayashankar K B <Jayashankar.KB@lnties.com>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8
Date: Fri, 24 Feb 2012 18:54:00 -0500
Message-ID: <3881.1330127640@sss.pgh.pa.us> (raw)
In-Reply-To: <1365276B7BDA4C40A519F0B4088230B30971101F@POCITMSEXMB03.LntUniverse.com>
References: <1365276B7BDA4C40A519F0B4088230B309710A77@POCITMSEXMB03.LntUniverse.com>
	<25095.1330028385@sss.pgh.pa.us>
	<1365276B7BDA4C40A519F0B4088230B30971101F@POCITMSEXMB03.LntUniverse.com>

Jayashankar K B <Jayashankar.KB@lnties.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



view thread (8+ messages)  latest in thread

Message-ID: <3881.1330127640@sss.pgh.pa.us>
Permalink:  ../3881.1330127640@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3881.1330127640@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Jayashankar.KB@lnties.com, pgsql-general@postgresql.org
  Subject: Re: Re: [PERFORM] Disable-spinlocks while compiling postgres 9.1 for ARM Cortex A8
  In-Reply-To: <3881.1330127640@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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