BUG #7970: How 's list all members in a special tablespace ( not as pg_global & pg_default )

Поиск
Список
Период
Сортировка
От sunny99991982@yahoo.com.vn
Тема BUG #7970: How 's list all members in a special tablespace ( not as pg_global & pg_default )
Дата
Msg-id E1UHrm2-0005mw-Bs@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #7970: How 's list all members in a special tablespace ( not as pg_global & pg_default )  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      7970
Logged by:          How 's list all members in a special tablespace
Email address:      sunny99991982@yahoo.com.vn
PostgreSQL version: 9.0.4
Operating system:   Enterpride linux 5 x86_64
Description:        =


I tried this, which will get the list of tables belong to 'XYZ' tablespace.

CREATE TABLESPACE TBS1 OWNER access LOCATION '/u03/tbs';

--> OK

Create table public.SinhVien ( MaSV text, TenSV text, Sodt int ) tablespace
TBS1;

--> OK

Insert into public.SinhVien (MaSV,TenSV,Sodt) Values ('001','Nguyen
Van',123456789),('002','Nguyen Ha',987654321);

--> OK

select relname from pg_class where reltablespace=3D(select oid from
pg_tablespace where spcname=3D'TBS1');

 relname =

---------
(0 rows)

why's return 0 rows ? i don't know

please help me.

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

Предыдущее
От: yjxiao@gmail.com
Дата:
Сообщение: BUG #7969: Postgres Recovery Fatal With: "incorrect local pin count: 2"
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: BUG #7970: How 's list all members in a special tablespace ( not as pg_global & pg_default )