Re: moving database objects from one schema to other

From: akp geek <akpgeek(at)gmail(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, thom(at)linux(dot)com
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: moving database objects from one schema to other
Date: 2010-10-28 16:59:40
Message-ID: AANLkTimWxQrYgnqjHm79WwWUteYsGYuM9F7B2omG3OKO@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thanks a lot.

Regards

On Thu, Oct 28, 2010 at 12:23 PM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>wrote:

> 2010/10/28 akp geek <akpgeek(at)gmail(dot)com>:
> > Hi all -
> > I would like to know if there is any other way of moving
> > objects from one schema to other schema? right now the way I am doing it
> is
> > , take the backup and importing whatever the database objects I wanted to
> > move, I am doing that using pg_restore. But I am finding it difficult for
> > functions, sequences
> > Thanks for your help
> > Regards
>
> hello
>
> use a statement: ALTER TABLE tablename SET SCHEMA new_schema
>
> Regards
>
> Pavel Stehule
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ivan Sergio Borgonovo 2010-10-28 17:06:13 Re: exceptionally large UPDATE
Previous Message Szymon Guz 2010-10-28 16:39:36 Re: PostGIS return multiple points