Re: race condition in pgplsql call handler?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: race condition in pgplsql call handler?
Дата
Msg-id 18626.1178891485@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: race condition in pgplsql call handler?  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Список pgsql-hackers
Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> Tom Lane wrote:
>> This is not a race condition because the backend is single-threaded.

> I see. Each backend has own function cache and use_count is for handle 
> recursion usage. Are my assumption correct?

Right.  Once a function cache entry is set up, it exists unchanged until
no longer in use, no matter what happens to the underlying pg_proc row.
        regards, tom lane


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

Предыдущее
От: Zdenek Kotala
Дата:
Сообщение: Re: race condition in pgplsql call handler?
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: Allow use of immutable functions operating onconstants with constraint exclusion