Re: [GENERAL] list all members in a tablespace

2011-03-14 Thread Michael Andrew Babb
PM To: Michael Andrew Babb Cc: pgsql-general@postgresql.org Subject: Re: [GENERAL] list all members in a tablespace Hi Mike, I tried this, which will get the list of tables belong to 'XYZ' tablespace. select relname from pg_class where reltablespace=(select oid from pg_tablespace whe

Re: [GENERAL] list all members in a tablespace

2011-03-09 Thread Raghavendra
Hi Mike, I tried this, which will get the list of tables belong to 'XYZ' tablespace. select relname from pg_class where reltablespace=(select oid from pg_tablespace where spcname='xyz'); Hope this helps Best Regards, Raghavendra EnterpriseDB Corporation The Enterprise Postgres Company On Thu,

[GENERAL] list all members in a tablespace

2011-03-09 Thread Michael Andrew Babb
Hi All, I'm doing a little housekeeping on my tablespaces and I'm curious if there is a quick and easy way to list all of the objects in a tablespace. Is there a command to list all objects in a tablespace? Thanks, Mike -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To