From: hyelluas <helen_yelluas@mcafee.com>
To: pgsql-general@postgresql.org
Subject: Re: how to find a tablespace for the table?
Date: Mon, 20 Jun 2011 12:18:49 -0700 (PDT)
Message-ID: <1308597529766-4507624.post@n5.nabble.com> (raw)
In-Reply-To: <BANLkTinhDx4WfihvQmFNVn5KZs49NwJxMw@mail.gmail.com>
References: <1308351052419-4500200.post@n5.nabble.com>
<4DFC3148.6040906@2ndQuadrant.com>
<1308593433717-4507266.post@n5.nabble.com>
<BANLkTinhDx4WfihvQmFNVn5KZs49NwJxMw@mail.gmail.com>
well,
here is the query :
profiler1=# select relname,reltablespace from pg_class where reltablespace
in(select oid from pg_tablespace where spcname not in
('pg_default','pg_global'));
relname | reltablespace
---------+---------------
why it shows no records?
profiler1=# select * from pg_catalog.pg_tables where
tablename='application_category';
schemaname | tablename | tableowner | tablespace | hasindexes |
hasrules | hastrigge
rs
------------+----------------------+------------+------------+------------+----------+----------
---
public | application_category | postgres | | t |
f | f
(1 row)
and that query show empty for the tablespace...
thank you
Helen
--
View this message in context: http://postgresql.1045698.n5.nabble.com/how-to-find-a-tablespace-for-the-table-tp4500200p4507624.htm...
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: helen_yelluas@mcafee.com
Subject: Re: how to find a tablespace for the table?
In-Reply-To: <1308597529766-4507624.post@n5.nabble.com>
References: <1308351052419-4500200.post@n5.nabble.com> <4DFC3148.6040906@2ndQuadrant.com> <1308593433717-4507266.post@n5.nabble.com> <BANLkTinhDx4WfihvQmFNVn5KZs49NwJxMw@mail.gmail.com> <1308597529766-4507624.post@n5.nabble.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox