Обсуждение: pgsql-server/src/template freebsd
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.
Based on what? Last I checked, we were ... On Fri, 12 Sep 2003, Bruce Momjian wrote: > 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 >
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
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 >
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
Вложения
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