Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
Thanks a lot.


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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group