Re: Summary function for pg_buffercache

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Cc: Melih Mutlu <m(dot)melihmutlu(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de>
Subject: Re: Summary function for pg_buffercache
Date: 2022-09-21 13:08:51
Message-ID: CAJ7c6TP-JEadd-cyn_L8GXQLO0tRLuXnOdr7hXEXdN9jTjV=UQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Andres,

> All you need to do is to read BufferDesc->state into a local variable and then make decisions based on that

You are right, thanks.

Here is the corrected patch.

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
v9-0001-Added-pg_buffercache_summary-function.patch application/octet-stream 10.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Melih Mutlu 2022-09-21 13:18:43 Re: Mingw task for Cirrus CI
Previous Message James Coleman 2022-09-21 12:21:58 Re: Support pg_attribute_aligned and noreturn in MSVC