Re: SLRUs in the main buffer pool, redux

2023-01-20 Thread Shawn Debnath
On Mon, Jul 25, 2022 at 11:54:36AM +0300, Heikki Linnakangas wrote: > Oh I just saw that you had a comment about that in the patch and had hacked > around it. Anyway, calling ResourceOwnerEnlargeBuffers() might be a > solution. Or switch to a separate "CriticalResourceOwner" that's guaranteed > to

Re: SLRUs in the main buffer pool - Page Header definitions

2022-06-30 Thread Shawn Debnath
On Fri, Jun 24, 2022 at 03:45:34PM -0700, Andres Freund wrote: > Outside the database you'll know the path to the file, which will tell you > it's not another kind of relation. > > This really makes no sense to me. We don't have page flags indicating whether > a page is a heap, btree, visibility,

Re: SLRUs in the main buffer pool - Page Header definitions

2022-06-24 Thread Shawn Debnath
ader, of course, changes to pd_flag won't be necessary anymore. Stepping back, it seems like folks are okay with introducing a page header to current SLRU components and that we are leaning towards sticking with the default one for now. We can proceed with this approach, and if needed, change it