Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z0Yv3-0006fr-6o for pgsql-sql@arkaria.postgresql.org; Thu, 04 Jun 2015 17:27:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z0Yv1-0004bN-W7 for pgsql-sql@arkaria.postgresql.org; Thu, 04 Jun 2015 17:27:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z0YCr-0005eK-SH for pgsql-sql@postgresql.org; Thu, 04 Jun 2015 16:41:25 +0000 Received: from oldperseverance.encs.concordia.ca ([132.205.96.92]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Z0YCj-0003aX-Vk for pgsql-sql@postgresql.org; Thu, 04 Jun 2015 16:41:25 +0000 Received: from cacao.encs.concordia.ca (emilu@cacao.encs.concordia.ca [132.205.47.225]) by oldperseverance.encs.concordia.ca (envelope-from emilu@encs.concordia.ca) (8.13.7/8.13.7) with ESMTP id t54GfEIe031646 for ; Thu, 4 Jun 2015 12:41:14 -0400 Message-ID: <55707FAA.8060204@encs.concordia.ca> Date: Thu, 04 Jun 2015 12:41:14 -0400 From: Emi Lu Reply-To: emilu@encs.concordia.ca User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: pgsql-sql@postgresql.org Subject: remove tablespace for primary key (*not* by drop/recreate constraint) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on oldperseverance.encs.concordia.ca at 2015-06-04 12:41:14 EDT X-Pg-Spam-Score: -4.2 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-sql Precedence: bulk Sender: pgsql-sql-owner@postgresql.org Hello list, Due to there are lots of foreign key dependencies, would prefer not to drop/create for primary key. Is there other way(s) for psql8.3 to remove tablespace for primary key please? For example, z1 (c1 text) with pk_z1 PRIMARY KEY (c1), tablespace "abc" May I know how to remove tablespace(set tablespace to empty for z1)? Thanks a lot! -- Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-sql