Re: Assigning fixed OIDs to system catalogs and indexes

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Re: Assigning fixed OIDs to system catalogs and indexes
Дата
Msg-id d3hv51$v97$1@news.hub.org
обсуждение исходный текст
Ответ на Assigning fixed OIDs to system catalogs and indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Assigning fixed OIDs to system catalogs and indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes
> Is it possible to cluster system tables?
>

Ooops, I guess I mixed two concepts - oid and relfilenode. Those operations
change relfilenode but not oids. I don't think we could cluster system
tables.

template1=# select oid, relfilenode from pg_class where relname =
'pg_attribute_
relid_attnam_index'; oid  | relfilenode
-------+-------------16688 |       17239
(1 row)

template1=# reindex table pg_attribute;
REINDEX
template1=# select oid, relfilenode from pg_class where relname =
'pg_attribute_
relid_attnam_index'; oid  | relfilenode
-------+-------------16688 |       17241
(1 row)

template1=# cluster pg_attribute_relid_attnam_index on pg_attribute;
ERROR:  "pg_attribute" is a system catalog

Regards,
Qingqing




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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Assigning fixed OIDs to system catalogs and indexes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Assigning fixed OIDs to system catalogs and indexes