Re: thread_test.c problems

Поиск
Список
Период
Сортировка
Искать
От
Тема
Re: thread_test.c problems
Дата
Msg-id
BC9642FD.7A2B%wespvp@syntegra.com
Ответ на
Список
Дерево обсуждения
thread_test.c problems <wespvp@syntegra.com>
Re: thread_test.c problems joseph speigle <joe.speigle@jklh.us>
Re: thread_test.c problems <wespvp@syntegra.com>
Re: thread_test.c problems Bruce Momjian <pgman@candle.pha.pa.us>
Re: thread_test.c problems Tom Lane <tgl@sss.pgh.pa.us>
Re: thread_test.c problems Bruce Momjian <pgman@candle.pha.pa.us>
Re: thread_test.c problems <wespvp@syntegra.com>
Re: thread_test.c problems Bruce Momjian <pgman@candle.pha.pa.us>
Re: thread_test.c problems <wespvp@syntegra.com>
Re: thread_test.c problems Bruce Momjian <pgman@candle.pha.pa.us>
Re: thread_test.c problems Bruce Momjian <pgman@candle.pha.pa.us>
Re: thread_test.c problems <wespvp@syntegra.com>
Re: thread_test.c problems Bruce Momjian <pgman@candle.pha.pa.us>
Re: thread_test.c problems Greg Stark <gsstark@mit.edu>
Re: thread_test.c problems Bruce Momjian <pgman@candle.pha.pa.us>
Re: thread_test.c problems <wespvp@syntegra.com>
Re: thread_test.c problems Bruce Momjian <pgman@candle.pha.pa.us>
Re: thread_test.c problems Tom Lane <tgl@sss.pgh.pa.us>
Re: thread_test.c problems Bruce Momjian <pgman@candle.pha.pa.us>
Re: thread_test.c problems Bruce Momjian <pgman@candle.pha.pa.us>
Re: thread_test.c problems <wespvp@syntegra.com>
Re: thread_test.c problems Bruce Momjian <pgman@candle.pha.pa.us>
Re: thread_test.c problems <wespvp@syntegra.com>
Re: thread_test.c problems Bruce Momjian <pgman@candle.pha.pa.us>
Re: thread_test.c problems <wespvp@syntegra.com>
Re: thread_test.c problems Bruce Momjian <pgman@candle.pha.pa.us>
Re: thread_test.c problems <wespvp@syntegra.com>
Re: thread_test.c problems Wes Palmer <Wesley.R.Palmer@syntegra.com>
On 4/4/04 7:28 PM, "Bruce Momjian"  wrote:

> OK, I know the cause of this.  The problem is that sometimes hostnames
> don't resolve, and the bigger problem is that it requires an internet
> connection to run the tests.  The attached patch tests for 'localhost'
> and your local hostname, so it should work reliably.

I did a cvs update, make, then rebuilt and tested thread_test.  I ran it
about 120 times and got "GETHOSTBYNAME_THREADSAFE=yes" almost all of the
time.  I got "GETHOSTBYNAME_THREADSAFE=no" three times.  The other two were
always "yes".

I did verify that both the "volatile" and "localhost" changes were in there.

Dumb question...  Why would you not always use the _r functions if they
exist?

Wes

В списке pgsql-general по дате отправления
От: Tom Lane
Дата:
От: Bruce Momjian
Дата:
Сообщение: Re: thread_test.c problems
FAQ