Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 1B264B5DBEC for ; Mon, 20 Jun 2011 17:46:20 -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 79942-07 for ; Mon, 20 Jun 2011 20:46:13 +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 C0E9AB5DBEF for ; Mon, 20 Jun 2011 17:46:07 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QYlMF-0004Lq-6d for pgsql-general@postgresql.org; Mon, 20 Jun 2011 13:46:07 -0700 Date: Mon, 20 Jun 2011 13:46:07 -0700 (PDT) From: hyelluas To: pgsql-general@postgresql.org Message-ID: <1308602767199-4508020.post@n5.nabble.com> In-Reply-To: References: <1308351052419-4500200.post@n5.nabble.com> <4DFC3148.6040906@2ndQuadrant.com> <1308593433717-4507266.post@n5.nabble.com> <1308597529766-4507624.post@n5.nabble.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/594 X-Sequence-Number: 177027 here it is : profiler1=# select oid,* from pg_tablespace; oid | spcname | spcowner | spclocation | spcacl -------+------------+----------+----------------------+-------- 1663 | pg_default | 10 | | 1664 | pg_global | 10 | | 19955 | profiler1 | 10 | /data/psql/profiler1 | (3 rows) profiler1=# select relname,reltablespace from pg_class where reltablespace=19955; relname | reltablespace ---------+--------------- (0 rows) thanks Helen -- View this message in context: http://postgresql.1045698.n5.nabble.com/how-to-find-a-tablespace-for-the-table-tp4500200p4508020.html Sent from the PostgreSQL - general mailing list archive at Nabble.com.