Re: How to make the user-defined function or type being accessed in the global database server?

From: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
To: 页公倒龙 <77287991(at)qq(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to make the user-defined function or type being accessed in the global database server?
Date: 2011-02-20 04:40:35
Message-ID: 4D609B43.8070604@postnewspapers.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/20/2011 09:57 AM, 页公倒龙 wrote:
> hello, i had defined user-defined function and type in database A by
> using user Root.when i want to access the function and type in another
> database B by using the same user Root, but found that i could't access
> them. How to make the user-defined function or type being accessed in
> the global database server?

You probably want to use one database with multiple schema instead. See
the manual for more information about schema.

--
Craig Ringer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message 页公倒龙 2011-02-20 06:13:51 回复: [GENERAL] How to make the user-defined function or type beingaccessed in the global database server?
Previous Message Craig Ringer 2011-02-20 04:39:35 Re: Building extensions on Windows using VS2008