Re: thread safety tests

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: thread safety tests
Дата
Msg-id 40C80642.3070307@Yahoo.com
обсуждение исходный текст
Ответ на Re: thread safety tests  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: thread safety tests  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: thread safety tests  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
On 6/10/2004 2:11 AM, Tom Lane wrote:

> Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> Are people OK with requiring PGUSER, $USER, $LOGNAME, or the username to
>> be supplied by the connection string in libpq on platforms that want
>> threads and don't have getpwuid_r() (Solaris, FreeBSD, etc.)?
> 
> AFAICS that was not what Jan was suggesting at all.  I don't like it
> either --- changing the user-visible behavior based on whether we think
> the platform is thread-safe or not is horrid.
> 
> What I understood Jan to be saying is that we should be willing to build
> the most thread-safe approximation we can when --enable-thread-safety
> is requested.  Don't bomb out if you don't have getpwuid_r, just give
> a warning and then use getpwuid.

Make it so that --enable-thread-safety bombs out, but make another 
--enable-thread-safey-anyway work the way Tom descibed it.


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Honza Pazdziora
Дата:
Сообщение: Re: Improving postgresql.conf
Следующее
От: Greg Stark
Дата:
Сообщение: Re: I/O support for composite types