Re: Tablespace patch review

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Tablespace patch review
Дата
Msg-id 9721.1087621835@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Tablespace patch review  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Tablespace patch review  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> I should think that the table-level display ought to show both the
>> relfilenode and tablespace OIDs for each table.

> For objects in the default tablespace, they don't show a tablespace oid,
> right?  Where do we put it?  A column that will be empty if they don't
> use tablespaces?

pg_class will show a zero for objects in the default tablespace, but
I think oid2name should pull the actual tablespace ID from
pg_database.dattablespace and show that.  The convention about zero
is just to make life simple for CREATE DATABASE --- users of oid2name
should not have to think about it.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Tablespace patch review
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: eventlog fix