Re: [HACKERS] Krb5 & multiple DB connections

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Krb5 & multiple DB connections
Дата
Msg-id 23954.1139454884@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Krb5 & multiple DB connections  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: [HACKERS] Krb5 & multiple DB connections  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-patches
Stephen Frost <sfrost@snowman.net> writes:
>> I have little idea of how expensive the operations called by
>> pg_krb5_init really are.  If they are expensive then it'd probably
>> make sense to keep the current static variables but treat 'em as a
>> one-element cache, ie, recompute if a new user name is being demanded.
>> If not, we ought to be able to simplify some things.

> We'd have to recompute based on the KRB5CCNAME environment variable
> changing, which is certainly an option.  It's not necessairly the case
> that the username is changing, possibly just the cache.

Hm, apparently I completely misunderstand the problem here.  What I
thought the bug was was that the cache wasn't recomputed given an
attempt to connect as a different Postgres username than the first
time.  If that's not the issue, then what is?

            regards, tom lane

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: [HACKERS] Krb5 & multiple DB connections
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] date overflows