pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Euler Taveira <euler@timbira.com.br>
To: liuyuanyuan <liuyuanyuangogo@gmail.com>
To: pgsql-admin@postgresql.org
To: pgsql-docs@postgresql.org
Subject: Re: Failed in moving database objects to another tablespace
Date: Thu, 11 Jun 2015 19:59:50 -0300
Message-ID: <557A12E6.401@timbira.com.br> (raw)
In-Reply-To: <002101d0a3f0$20e40f80$62ac2e80$@gmail.com>
References: <002101d0a3f0$20e40f80$62ac2e80$@gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

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@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (3+ messages)  latest in thread

Message-ID: <557A12E6.401@timbira.com.br>
Permalink:  ../557A12E6.401@timbira.com.br/
Also on:    postgresql.org/message-id/557A12E6.401@timbira.com.br

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: euler@timbira.com.br, liuyuanyuangogo@gmail.com, pgsql-docs@postgresql.org
  Subject: Re: Failed in moving database objects to another tablespace
  In-Reply-To: <557A12E6.401@timbira.com.br>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox