| От | Ashutosh Bapat |
|---|---|
| Тема | Re: Remove PG_MMAP_FLAGS |
| Дата | |
| Msg-id | CAExHW5uN1T2LRf7WypNT8ZyJ0yY_pp4Zo4uNH7m_Pxr1AuW0nQ@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: Remove PG_MMAP_FLAGS (Michael Paquier <michael@paquier.xyz>) |
| Ответы |
Re: Remove PG_MMAP_FLAGS
|
| Список | pgsql-hackers |
On Fri, Jan 23, 2026 at 10:12 AM Michael Paquier <michael@paquier.xyz> wrote: > > On Fri, Jan 23, 2026 at 08:04:18AM +0530, Ashutosh Bapat wrote: > > As Peter mentioned in the shared buffers resizing thread [1] it's > > placement and name in mem.h led us to think that it affects all mmap > > calls or that all mmap calls should use those flags. Neither of which > > is true. We have different mmap calls using different set of flags. > > Attached patch proposes changes similar (not exact) as you suggest > > above. Please take a look. > > > > [1] https://www.postgresql.org/message-id/12add41a-7625-4639-a394-a5563e349322@eisentraut.org > > Okay, point taken. I can live with your patch suggestion based on > what you have attached. Thanks. I revised the patch a bit. The macro had parenthesis around the macro definition which are not required in the assignment. Removed them. Also revised the commit message a bit. -- Best Wishes, Ashutosh Bapat
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера