Re: thread_test.c problems

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: wespvp(at)syntegra(dot)com, PostgreSQL-general <pgsql-general(at)postgresql(dot)org>, joseph speigle <joe(dot)speigle(at)jklh(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: thread_test.c problems
Date: 2004-04-07 04:55:21
Message-ID: 200404070455.i374tLX01597@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > My plan is to have 'configure' run this program as part of its
> > operation,
>
> Peter's not going to be happy with you ;-) Runtime configure tests are
> not part of the Grand Plan --- ideally configure should only have to do
> compile and link tests.

Yep, I am sure he isn't, but looking at platforms that have different
thread-safety capabilities, I can't see a way around it. We could
argue that the thread test is testing the thread library, not the actual
computer it is running in. For example, it isn't do a 'df'.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Garamond 2004-04-07 04:58:35 BYTEA maximum sizes (Re: Storing jpgs)
Previous Message David Garamond 2004-04-07 04:55:16 Re: SQL trees and other nonsense...

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-04-07 05:05:51 Re: [HACKERS] logging statement levels
Previous Message Tom Lane 2004-04-07 04:21:55 Re: thread_test.c problems