Re: got Postgresql working on FreeBSD-alpha

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Alfred Perlstein <bright(at)wintelcom(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: got Postgresql working on FreeBSD-alpha
Date: 2000-11-15 20:23:24
Message-ID: Pine.LNX.4.21.0011152118300.779-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Alfred Perlstein writes:

> > About the regression tests: Apparently you're picking up the wrong
> > "expected" files. I can't make out why offhand, though. Modulo that, the
> > inet failure looks to be the only real trouble.
>
> Yes, can you point to at the general location of that code? I'd
> like to see if it's a FreeBSD bug, FreeBSD-alpha bug, Postgresql
> bug or Postgresql-alpha bug or any combination thereof. :)

A short explanation of the mechanism is at the end of
src/test/regress/README. Depending on how you invoke the regression test
you'll have to look into pg_regress, regress.sh, or run_check.sh for the
implementation. I recommend using 'gmake check' or 'gmake installcheck',
which would invoke the former. The others are obsolescent.

> Question, how much of an impact is using test and set over using
> system semaphores? Would it be worth it to patch 7.0.x for alpha
> and using hardware spinlocks rather than kernel mutexes?

Generally, test and set should be a lot faster. Specifically, the non-TAS
code is probably broken and will be removed sometime.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Alfred Perlstein 2000-11-15 20:36:20 Re: got Postgresql working on FreeBSD-alpha
Previous Message Chih-Chang Hsieh 2000-11-15 01:16:58 Re: [PATCHES] A Patch for MIC to EUC_TW code converting inmbsupport