pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: liuyuanyuan <liuyuanyuangogo@gmail.com>
To: pgsql-admin@postgresql.org
To: pgsql-docs@postgresql.org
Subject: Failed in moving database objects to another tablespace
Date: Thu, 11 Jun 2015 10:41:06 +0800
Message-ID: <002101d0a3f0$20e40f80$62ac2e80$@gmail.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

Hi !

 

 

I installed my postgresql and pgadmin III with an windows 32bit installer.

My environment:

Windows7 64bit

Postgresql 9.4.0 

Pgadmin III 1.20.0

Then I found the new function in pgadmin III : move database objects to
another tablespace.

 

 

First, I tried to execute this function and failed,  just as follow (PS: the
ok and cancle button cannot display well, please check):





 

 

Then, I tried to execute an sql command like this:

  ALTER TABLESPACE pg_default MOVE TABLES OWNED BY yy TO "table";

And I still got an error:

  ERROR:  syntax error at or near "MOVE"

LINE 1: ALTER tablespace pg_default MOVE TABLES OWNED BY yy TO "tabl...

                                    ^

Then I ckeck the Postgresql Document of www.postgresql.org , and I couldn't
find the Syntaxs: ALTER TABLESPACE . MOVE.

 

 

So I have to report this problem. Hope to get some reply!

Thanks and Regards!

 

Liu Yuanyuan

Blog: http://my.oschina.net/liuyuanyuangogo

 

 

 

 

 

Attachments:

image001.png (image/png, 83.4K) download view image
image002.png (image/png, 54.8K) download view image

view thread (3+ messages)  latest in thread

Message-ID: <002101d0a3f0$20e40f80$62ac2e80$@gmail.com>
Permalink:  ../002101d0a3f0$20e40f80$62ac2e80$@gmail.com/
Also on:    postgresql.org/message-id/002101d0a3f0$20e40f80$62ac2e80$@gmail.com

 · 

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: liuyuanyuangogo@gmail.com, pgsql-docs@postgresql.org
  Subject: Re: Failed in moving database objects to another tablespace
  In-Reply-To: <002101d0a3f0$20e40f80$62ac2e80$@gmail.com>

* 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