Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3Dk8-0000aY-S1 for pgsql-docs@arkaria.postgresql.org; Fri, 12 Jun 2015 01:26:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z3Dk8-0001pQ-7R for pgsql-docs@arkaria.postgresql.org; Fri, 12 Jun 2015 01:26:48 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z3Dk7-0001pJ-A7 for pgsql-docs@postgresql.org; Fri, 12 Jun 2015 01:26:47 +0000 Received: from mbob.nabble.com ([162.253.133.15]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Z3Dk0-0006IQ-9S for pgsql-docs@postgresql.org; Fri, 12 Jun 2015 01:26:45 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mbob.nabble.com (Postfix) with ESMTP id 46C0FECABD7 for ; Thu, 11 Jun 2015 18:26:51 -0700 (PDT) Date: Thu, 11 Jun 2015 18:26:39 -0700 (MST) From: JasmineLiu To: pgsql-docs@postgresql.org Message-ID: <1434072399854-5853510.post@n5.nabble.com> In-Reply-To: <557A12E6.401@timbira.com.br> References: <002101d0a3f0$20e40f80$62ac2e80$@gmail.com> <557A12E6.401@timbira.com.br> Subject: Re: Failed in moving database objects to another tablespace MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.7 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org Euler Taveira wrote > On 10-06-2015 23:41, liuyuanyuan wrote: >> Then, I tried to execute an sql command like this: >> >> ALTER TABLESPACE pg_default MOVE TABLES OWNED BY yy TO "table"; >> > This syntax was changed _before_ 9.4 release. The new syntax is: > > ALTER TABLE ALL IN TABLESPACE foo SET TABLESPACE bar; > > The problem is in pgAdmin. I bet you're running a pgAdmin beta version > or something like that. Could you confirm the exact pgAdmin version? > > > -- > Euler Taveira Timbira - http://www.timbira.com.br/ > PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento > > > -- > Sent via pgsql-docs mailing list ( > pgsql-docs@ > ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-docs Thanks for your replay! That's all about my pgadmin, please check! Regards! Liu Yuanyuan -- View this message in context: http://postgresql.nabble.com/Failed-in-moving-database-objects-to-another-tablespace-tp5853305p5853510.html Sent from the PostgreSQL - docs mailing list archive at Nabble.com. -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs