Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 38A26650285 for ; Mon, 8 Dec 2008 18:20:43 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 31592-07 for ; Mon, 8 Dec 2008 18:20:40 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from nrccenexf2.nrc.ca (nrccenexf2.nrc.ca [132.246.15.83]) by mail.postgresql.org (Postfix) with ESMTP id 15F64650267 for ; Mon, 8 Dec 2008 18:20:39 -0400 (AST) Received: from nrccenexf1.nrc.ca ([132.246.15.80]) by nrccenexf2.nrc.ca with Microsoft SMTPSVC(6.0.3790.3959); Mon, 8 Dec 2008 17:20:37 -0500 Received: from [192.168.11.203] ([132.246.15.68]) by nrccenexf1.nrc.ca over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959); Mon, 8 Dec 2008 17:20:36 -0500 Message-ID: <493D9DB3.3080202@nrc-cnrc.gc.ca> Date: Mon, 08 Dec 2008 14:20:35 -0800 From: Isabella Ghiurea Reply-To: isabella.ghiurea@nrc-cnrc.gc.ca Organization: CADC -NRC User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: dba and tables spaces questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Dec 2008 22:20:36.0779 (UTC) FILETIME=[31CBAFB0:01C95983] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200812/65 X-Sequence-Number: 30898 Dear pg Gurus, I would like to know : 1- how can I alter an existing db on new table space, is there a cmd :alter db add tablespace2 etc ? 2- how can in create db allocate 2 -n tables spaces for a db ? " create db name with tablespace 1= .. and tablespace2=.... "will this be a valid cmd ? Or other solution to this issues ? using Pg version 8.3 on Linux Thank you in advance Isabella