Re: thread safety tests

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: thread safety tests
Дата
Msg-id 40C74BBB.7000100@Yahoo.com
обсуждение исходный текст
Ответ на 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/9/2004 1:04 PM, Bruce Momjian wrote:

> What we really need is a way to do the uid->username mapping in a
> thread-safe way.  Could we check the environment for $USER or $LOGNAME?
> Could we require them to be set for thread builds on OS's without
> getpwuid_r and in cases where the username is not specified in the
> connection string?

Maybe not as popular, but what about breaking backward compatibility and 
require the DB name to be specified, no username fallback? How many 
applications really rely on that feature? And people who are used to it 
from the commandline can set PGDATABASE in their .profile to get it back.


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 по дате отправления:

Предыдущее
От: pgsql@mohawksoft.com
Дата:
Сообщение: Re: Frequently updated tables
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: thread safety tests