Re: how to find a tablespace for the table?

From: Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com>
To: hyelluas <helen_yelluas(at)mcafee(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: how to find a tablespace for the table?
Date: 2011-06-20 21:31:33
Message-ID: BANLkTi=gYyMrwR2PcjDdoQEnD=z1ZG0sDw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Actually to say, everything looks ok to me, until unless you say the table *
'**application_category'* on other tablespace ... :)

profiler1=# select relname,reltablespace from pg_class where
>> relname='application_category';
>> relname | reltablespace
>> ----------------------+---------------
>> application_category | 0
>> (1 row)
>>
>>
Above result, indicates that its in default tablespace.
http://www.postgresql.org/docs/9.0/static/catalog-pg-class.html

Regards
Raghav

>
>> --
>> View this message in context:
>> http://postgresql.1045698.n5.nabble.com/how-to-find-a-tablespace-for-the-table-tp4500200p4508040.html
>> Sent from the PostgreSQL - general mailing list archive at Nabble.com.
>>
>> --
>> Sent via pgsql-general mailing list (pgsql-general(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-general
>>
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jaime Casanova 2011-06-20 21:47:49 Re: insert a SYSTIMESTAMP value in postgres
Previous Message Raghavendra 2011-06-20 21:10:29 Re: how to find a tablespace for the table?