Re: [PATCHES] Patch for Linux-IA64

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Reinhard Max <max(at)suse(dot)de>
Cc: pgsql-bugs(at)postgresql(dot)org, pgsql-patches(at)postgresql(dot)org
Subject: Re: [PATCHES] Patch for Linux-IA64
Date: 2000-07-05 16:18:23
Message-ID: 200007051618.MAA07309@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches

OK, I have applied part of this patch. I skipped the changes to
Makefile.shlib, and the hack to disable flock in pqcomm.c. By the time
this code is released in 7.1, hopefully the Linux kernel will be fixed.

The Makefile.shlib changes will have to be discussed with other Linux
developers so we are sure it will work on all platforms.

I am attaching the part of the patch that I applied.

Thanks.

> Hi,
>
> attached to this mail is a patch from a colleague that makes
> PostgreSQL-7.0.2 run on Linux for the Intel-IA64 architecture. It also
> fixes a bug in the configure scripts that caused configure to fail on
> the fcntl(F_SETLK) test.
>
> This fix triggered a bug in the fcntl(F_SETLK) code of the Linux
> kernel when used on unix domain sockets resulting in postmaster to
> segfault immediately after startup. There is a fix available and
> included in the kernel that will be on SuSE Linux 7.0, but kernels <=
> 2.2.16 still have this bug.
>
> Therefore we decided to disable the calls to fcntl(F_SETLK) in
> src/backend/libpq/pqcomm.c as workarround for the PostgreSQL RPMs for
> SuSE Linux which I am currently working on. The patch (hack) doing
> this is also included.
>
> Regards,
>
> Reinhard Max
> --
> If you put garbage in a computer nothing comes out but garbage.
> But this garbage, having passed through a very expensive machine,
> is somehow enobled and none dare criticize it.
Content-Description: Patch for IA64

--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Attachment Content-Type Size
unknown_filename text/plain 1.2 KB

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2000-07-05 17:21:27 Re: problem with union and outer join using a view
Previous Message Merrill Oveson 2000-07-05 16:04:27 problem with union and outer join using a view

Browse pgsql-patches by date

  From Date Subject
Next Message Karel Zak 2000-07-05 21:29:49 Re: fix residual space in memory block
Previous Message Tom Lane 2000-07-05 15:03:49 Re: fix residual space in memory block