Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache
От
Michael Paquier
Тема
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache
Дата
Msg-id
aSfQx0GafuMwCRWD@paquier.xyz
Ответ на
Список
Дерево обсуждения
Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Xuneng Zhou <xunengzhou@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Xuneng Zhou <xunengzhou@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Amit Kapila <amit.kapila16@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Michael Paquier <michael@paquier.xyz>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Michael Paquier <michael@paquier.xyz>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache 邱宇航 <iamqyh@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Michael Paquier <michael@paquier.xyz>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Michael Paquier <michael@paquier.xyz>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache 邱宇航 <iamqyh@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache 邱宇航 <iamqyh@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Nazir Bilal Yavuz <byavuz81@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache 邱宇航 <iamqyh@gmail.com>
Re: Add pg_buffercache_mark_dirty[_all] functions to the pg_buffercache Nazir Bilal Yavuz <byavuz81@gmail.com>
On Thu, Nov 27, 2025 at 11:07:43AM +0800, 邱宇航 wrote: > Yes, and we got another two loops in pg_buffercache_evict functions, > and more loops in Drop/Flush relation/database buffers functions. Maybe > we can abstract them into a generic loop function and it takes a buffer > handler function pointer to avoid duplication? I was considering an option when looking at the patch this morning, but could not get behind it as it hides the internals of the routines inside one extra layer of routines.. So what Nazir has done seems like a balance good enough, at least for me. -- Michael
В списке pgsql-hackers по дате отправления
От: Michael Paquier
Дата: