pgsql-server/src/template freebsd

Поиск
Список
Период
Сортировка
Искать

pgsql-server/src/template freebsd

От:
momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
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.

Re: pgsql-server/src/template freebsd

От:
"Marc G. Fournier" <scrappy@postgresql.org>
Дата:

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
>

Re: pgsql-server/src/template freebsd

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
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

Re: pgsql-server/src/template freebsd

От:
"Marc G. Fournier" <scrappy@postgresql.org>
Дата:

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
>

Re: pgsql-server/src/template freebsd

От:
Larry Rosenman <ler@lerctr.org>
Дата:
Вложения:
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" 
 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

Re: pgsql-server/src/template freebsd

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
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
FAQ