Re: Sorting writes during checkpoint

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Greg Smith <gsmith(at)gregsmith(dot)com>, ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Sorting writes during checkpoint
Date: 2008-07-04 16:05:54
Message-ID: 23541.1215187554@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> Anyway, I note that we don't have an easy way of sorting by tablespace,

Say what? tablespace is the first component of relfilenode.

> but I'm sure it would be possible to look up the tablespace for a file
> within a plugin.

If the information weren't readily available from relfilenode, it would
*not* be possible for a bufmgr plugin to look it up. bufmgr is much too
low-level to be dependent on performing catalog lookups.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-07-04 16:15:03 Re: pgsql: Fix a couple of bugs in win32 shmem name generation: * Don't cut
Previous Message Tom Lane 2008-07-04 16:01:12 Re: [PATCHES] Explain XML patch v2

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2008-07-04 16:20:48 Re: Explain XML patch v2
Previous Message Tom Lane 2008-07-04 16:01:12 Re: [PATCHES] Explain XML patch v2