Re: logical decoding / rewrite map vs. maxAllocatedDescs
В списке pgsql-hackers по дате отправления:
| От | Alvaro Herrera |
|---|---|
| Тема | Re: logical decoding / rewrite map vs. maxAllocatedDescs |
| Дата | |
| Msg-id | 20180809175846.gyycn5rgbo7eksy5@alvherre.pgsql обсуждение исходный текст |
| Ответ на | Re: logical decoding / rewrite map vs. maxAllocatedDescs (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On 2018-Aug-09, Tom Lane wrote: > It sounds like whoever wrote that code was completely impervious to the > API spec for AllocateFile(): > > * Note that files that will be open for any significant length of time > * should NOT be handled this way, since they cannot share kernel file > * descriptors with other files; there is grave risk of running out of FDs > * if anyone locks down too many FDs. > > Perhaps these files should be accessed through fd.c's VFD infrastructure > rather than ignoring it. Reinventing it is especially not the way to go. Ah, right. Maybe ReorderBufferRestoreChanges should use PathNameOpenFile / FileRead ... -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера