Re: got Postgresql working on FreeBSD-alpha - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: got Postgresql working on FreeBSD-alpha
Date
Msg-id Pine.LNX.4.21.0011152118300.779-100000@peter.localdomain
Whole thread Raw
In response to Re: got Postgresql working on FreeBSD-alpha  (Alfred Perlstein <bright@wintelcom.net>)
Responses Re: got Postgresql working on FreeBSD-alpha  (Alfred Perlstein <bright@wintelcom.net>)
List 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@gmx.net       http://yi.org/peter-e/


pgsql-patches by date:

Previous
From: Alfred Perlstein
Date:
Subject: Re: got Postgresql working on FreeBSD-alpha
Next
From: Alfred Perlstein
Date:
Subject: Re: got Postgresql working on FreeBSD-alpha