greenplum6查找表的relfilenode

testdb=# select oid,pg_relation_filenode(oid),relname from pg_class where relname like 'pg_type%';
 oid  | pg_relation_filenode |           relname
------+----------------------+------------------------------
 2703 |                10008 | pg_type_oid_index
 2704 |                10009 | pg_type_typname_nsp_index
 1247 |                12550 | pg_type
 6220 |                12751 | pg_type_encoding
 6207 |                10147 | pg_type_encoding_typid_index
(5 rows)
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章