public inbox for [email protected]  
help / color / mirror / Atom feed
From: Euler Taveira <[email protected]>
To: liuyuanyuan <[email protected]>
To: [email protected]
To: [email protected]
Subject: Re: Failed in moving database objects to another tablespace
Date: Thu, 11 Jun 2015 19:59:50 -0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
List-Unsubscribe: <mailto:[email protected]?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 ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (3+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Failed in moving database objects to another tablespace
  In-Reply-To: <[email protected]>

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

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