pg_buffercache tidyup

From: Mark Kirkwood <markir(at)paradise(dot)net(dot)nz>
To: pgsql-patches(at)postgresql(dot)org
Subject: pg_buffercache tidyup
Date: 2006-10-22 06:30:18
Message-ID: 453B0FFA.1050509@paradise.net.nz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

This is probably terrible timing, but I noticed Tom had done some nice
tidying up on pg_freespacemap to eliminate the clumsy conversion to and
from strings. This patch does a similar thing for pg_buffercache.

I did wonder about not showing buffers that are invalid or not in use
(currently displays all attributes bar the id as NULL). Comments?

Cheers

Mark

Attachment Content-Type Size
pg_buffercache_pages.c-20061022.patch text/x-patch 6.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Volkan YAZICI 2006-10-22 09:07:34 Re: estimated_count() implementation
Previous Message Gregory Maxwell 2006-10-22 02:22:10 Re: New CRC algorithm: Slicing by 8

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2006-10-22 09:18:32 Re: Updates for vcbuild
Previous Message Tom Lane 2006-10-21 21:33:45 Re: Updates for vcbuild