Re: Transfer database tables to a schema

From: Shridhar Daithankar <shridhar(at)frodo(dot)hserus(dot)net>
To: Peter Darley <pdarley(at)kinesis-cem(dot)com>, Pgsql-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Transfer database tables to a schema
Date: 2004-02-04 08:18:52
Message-ID: 4020AAEC.8080100@frodo.hserus.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter Darley wrote:
> I don't have large objects or schemas in the db I want to move, but I do
> have languages and functions. I'm not sure if I need to be worried about
> collisions there or not. I can't tell weather languages/functions live in
> the database, or in a schema of the database.

Functions are dumped. They are specific to schemas as well. There could be two
functions with same name/signature in different schemas and that is perfectly
fine. That's where your schema search path comes into picture. Set it right and
everything will be in the right cell.

As goes for languages, I am not sure if they are dumped. However you can create
them manually if required. There are hardly few dozens of them out there..:-)

But adding language is only required if source database had it but not the
target database. If two databases are failrly similar, then it should not be needed.

<OT>
I request you to make a habit to reply all, while replying to postgresql mailing
lists. These lists do not set the reply-to to mailing list.

I don't know why it is so but I am sure it is been requested in past. I found it
difficult to adjust initially but got used to it.

Not that it is much of a hassle for me. Its just different than what I am/was
used to.
</OT>

HTH

Shridhar

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-02-04 09:53:13 Re: RETURN NEXT and reversing order
Previous Message Lincoln Yeoh 2004-02-04 07:50:22 Re: postmaster growing to consume all memory