Re: pgsql: Simplify validate_exec() by using access(2) to check file

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql: Simplify validate_exec() by using access(2) to check file
Дата
Msg-id 201001140438.o0E4cav10760@momjian.us
обсуждение исходный текст
Ответ на Re: pgsql: Simplify validate_exec() by using access(2) to check file  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Are there any outside code modifications now that this is thread-safe?
> > I can't find any myself.
>
> I only saw the note to not trust the function in threadable code.
> It might let us do some things later, but there doesn't seem to be
> an immediate application.

Thanks.  That's what I thought too. We do have some code in libpq to
handle non-thread-safe functions (by taking a thread lock), but I didn't
see any cases where we did that when we called this code.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Simplify validate_exec() by using access(2) to check file
Следующее
От: sriggs@postgresql.org (Simon Riggs)
Дата:
Сообщение: pgsql: First part of refactoring of code for ResolveRecoveryConflict.