Re: Summary function for pg_buffercache - Mailing list pgsql-hackers

From Aleksander Alekseev
Subject Re: Summary function for pg_buffercache
Date
Msg-id CAJ7c6TP8bsyBzxv5uFwiGMe6HbgbqY32VFokpN7o4er7WH+29A@mail.gmail.com
Whole thread Raw
In response to Re: Summary function for pg_buffercache  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Summary function for pg_buffercache
List pgsql-hackers
Hi hackers,

> > I suggest we focus on saving the memory first and then think about the
> > performance, if necessary.
>
> +1

I made a mistake in v3 cfbot complained about. It should have been:

```
if (RelFileNumberIsValid(BufTagGetRelNumber(&bufHdr->tag)))
```

Here is the corrected patch.

-- 
Best regards,
Aleksander Alekseev

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Expand palloc/pg_malloc API
Next
From: Andres Freund
Date:
Subject: Re: configure --with-uuid=bsd fails on NetBSD