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/