pgsql-server/src/template freebsd

Started by Bruce Momjianalmost 23 years ago6 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian@svr1.postgresql.org 03/09/12 13:49:34

Modified files:
src/template : freebsd

Log message:
Mark FreeBSD as non-thread-safe.

#2The Hermit Hacker
scrappy@hub.org
In reply to: Bruce Momjian (#1)
Re: pgsql-server/src/template freebsd

Based on what? Last I checked, we were ...

On Fri, 12 Sep 2003, Bruce Momjian wrote:

Show quoted text

CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian@svr1.postgresql.org 03/09/12 13:49:34

Modified files:
src/template : freebsd

Log message:
Mark FreeBSD as non-thread-safe.

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

#3Bruce Momjian
bruce@momjian.us
In reply to: The Hermit Hacker (#2)
Re: pgsql-server/src/template freebsd

Marc G. Fournier wrote:

Based on what? Last I checked, we were ...

Nope. Run src/tools/test_thread_funcs.c. We have reports of failures
on 4.8 and 5.1. Of course, it is just testing a few functions that we
want to be thread-safe, but are not. And, FreeBSD doesn't have *_r
versions of those functions, so will need the patch I just applied that
does the thread locking in our code.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#4The Hermit Hacker
scrappy@hub.org
In reply to: Bruce Momjian (#3)
Re: pgsql-server/src/template freebsd

run what? :)

neptune# find . -name test_thread_funcs.c -print
neptune# pwd
/usr/local/src/postgresql-7.4beta2

On Sat, 13 Sep 2003, Bruce Momjian wrote:

Show quoted text

Marc G. Fournier wrote:

Based on what? Last I checked, we were ...

Nope. Run src/tools/test_thread_funcs.c. We have reports of failures
on 4.8 and 5.1. Of course, it is just testing a few functions that we
want to be thread-safe, but are not. And, FreeBSD doesn't have *_r
versions of those functions, so will need the patch I just applied that
does the thread locking in our code.

--
Bruce Momjian                        |  http://candle.pha.pa.us
pgman@candle.pha.pa.us               |  (610) 359-1001
+  If your life is a hard drive,     |  13 Roberts Road
+  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
#5Larry Rosenman
ler@lerctr.org
In reply to: The Hermit Hacker (#4)
Re: pgsql-server/src/template freebsd

It was added in CVS.

Look back in the -hackers archive for my run of it on 5.1-CURRENT.

LER

--On Saturday, September 13, 2003 14:44:21 -0300 "Marc G. Fournier"
<scrappy@postgresql.org> wrote:

run what? :)

neptune# find . -name test_thread_funcs.c -print
neptune# pwd
/usr/local/src/postgresql-7.4beta2

On Sat, 13 Sep 2003, Bruce Momjian wrote:

Marc G. Fournier wrote:

Based on what? Last I checked, we were ...

Nope. Run src/tools/test_thread_funcs.c. We have reports of failures
on 4.8 and 5.1. Of course, it is just testing a few functions that we
want to be thread-safe, but are not. And, FreeBSD doesn't have *_r
versions of those functions, so will need the patch I just applied that
does the thread locking in our code.

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

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

--
Larry Rosenman http://www.lerctr.org/~ler
Phone: +1 972-414-9812 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

#6Bruce Momjian
bruce@momjian.us
In reply to: The Hermit Hacker (#4)
Re: pgsql-server/src/template freebsd

Marc G. Fournier wrote:

run what? :)

neptune# find . -name test_thread_funcs.c -print
neptune# pwd
/usr/local/src/postgresql-7.4beta2

It wasn't in beta2. See CVS src/tools/test_thread_funcs.c.

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