Re: Tablespace patch review

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Tablespace patch review
Date: 2004-06-18 20:23:10
Message-ID: 25205.1087590190@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> Tom Lane wrote:
>> Somebody's got to fix oid2name and dbsize though. Bruce, you want
>> to catch those?

> Uh, how do they have to be fixed? Isn't the relfilenode unchanged? Do
> we just need to add tablespace lookups?

How useful will oid2name be if it doesn't understand about tablespaces?
I dunno how it ought to be changed, but surely it needs some thought.

dbsize doesn't even compile right now, because it's using
GetDatabasePath which now has another argument. I did not patch it
because it needs more thought: should it report the total of all
tablespaces for the database, or should its API be extended so you
can ask about individual tablespaces, or what? In any case it's
not a one-liner fix...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Carlos Guzmán Álvarez 2004-06-18 20:23:57 Re: Timestamp format question
Previous Message Bruce Momjian 2004-06-18 20:20:13 Re: [PATCHES] Configuration patch

Browse pgsql-patches by date

  From Date Subject
Next Message Gavin Sherry 2004-06-18 21:42:04 Re: Tablespace patch review
Previous Message Bruce Momjian 2004-06-18 20:20:13 Re: [PATCHES] Configuration patch