| От | Tom Lane |
|---|---|
| Тема | Re: EINTR in ftruncate() |
| Дата | |
| Msg-id | 2835511.1657812444@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: EINTR in ftruncate() (Alvaro Herrera <alvherre@alvh.no-ip.org>) |
| Ответы |
Re: EINTR in ftruncate()
|
| Список | pgsql-hackers |
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> ISTM it would be cleaner to patch PG_SETMASK to have a second argument
> and to return the original mask if that's not NULL. This is more
> invasive, but there aren't that many callsites of that macro.
[ shoulda read your message before replying ]
Given that this needs back-patched, I think changing PG_SETMASK
is a bad idea: there might be outside callers. However, we could
add another macro with the additional argument. PG_GET_AND_SET_MASK?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера