Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id E7E87B5DC2F for ; Mon, 20 Jun 2011 15:11:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 66320-02-6 for ; Mon, 20 Jun 2011 18:11:16 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id 1766AB5DC67 for ; Mon, 20 Jun 2011 15:10:34 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QYivh-0002Qp-Sa for pgsql-general@postgresql.org; Mon, 20 Jun 2011 11:10:33 -0700 Date: Mon, 20 Jun 2011 11:10:33 -0700 (PDT) From: hyelluas To: pgsql-general@postgresql.org Message-ID: <1308593433717-4507266.post@n5.nabble.com> In-Reply-To: <4DFC3148.6040906@2ndQuadrant.com> References: <1308351052419-4500200.post@n5.nabble.com> <4DFC3148.6040906@2ndQuadrant.com> Subject: Re: how to find a tablespace for the table? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.778 tagged_above=-5 required=5 tests=BAYES_00=-1.9, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201106/584 X-Sequence-Number: 177017 thank you Greg, here is what I get, I createed view as you suggested. I'm not sure why tablespace column is empty profiler1=# select * from pg_tables where schemaname ='public' limit 10; schemaname | tablename | tableowner | tablespace | hasindexes | hasrules | hastri ers ------------+-------------------------+------------+------------+------------+----------+------- ---- public | ttt | postgres | | f | f | f public | summ_hrly_1514609 | postgres | | t | f | f public | summ_5min_1514610 | postgres | | t | f | f public | exp_cnt | postgres | | f | f | f public | auth_type | postgres | | t | f | f public | druid_mapping | postgres | | t | f | f public | application_category | postgres | | t | f | f public | application_risk | postgres | | t | f | f public | policy_history | postgres | | t | f | f public | datasource | postgres | | t | f | f (10 rows) thank you. Helen -- View this message in context: http://postgresql.1045698.n5.nabble.com/how-to-find-a-tablespace-for-the-table-tp4500200p4507266.html Sent from the PostgreSQL - general mailing list archive at Nabble.com.