Move table - New schema

From: António Rodrigues <n(dot)marxco(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Move table - New schema
Date: 2012-09-18 10:48:43
Message-ID: CABOU0iR=LmA34J=7Zzy2_toGdP+1aDpN0M9gveuB3xWW8SzXkA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi list,

(newbie question)

I'm trying to move a set of tables between schemas.

Tried:

ALTER TABLE tablename
SET SCHEMA schemaname

It gives me error: "schema schemaname does not exist" (it does)

Any help please.
Thanks,
António

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rafal Pietrak 2012-09-18 11:00:12 Re: foreign key from array element
Previous Message Виктор Егоров 2012-09-18 10:03:35 Re: Data recovery after inadvertent update?