Re: transfering tables into other schema

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Ivan Sergio Borgonovo <mail(at)webthatworks(dot)it>, pgsql-general(at)postgresql(dot)org
Subject: Re: transfering tables into other schema
Date: 2009-02-17 10:08:09
Message-ID: 499A8C89.8030100@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 17/02/2009 08:09, Scott Marlowe wrote:

> ALTER TABLE name SET SCHEMA new_schema;

And you can do this for all your tables inside a transaction, making it
an all-or-nothing operation. :-)

Ray.

------------------------------------------------------------------
Raymond O'Donnell, Director of Music, Galway Cathedral, Ireland
rod(at)iol(dot)ie
Galway Cathedral Recitals: http://www.galwaycathedral.org/recitals
------------------------------------------------------------------

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2009-02-17 12:06:42 Re: Strange Grant behavior in postgres 8.3
Previous Message Schwaighofer Clemens 2009-02-17 08:27:11 Strange Grant behavior in postgres 8.3