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

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: How to make the user-defined function or type being accessed in the global database server?
Дата
Msg-id 4D60958B.20700@hogranch.com
обсуждение исходный текст
Ответ на How to make the user-defined function or type being accessed in the global database server?  ("页公倒龙" <77287991@qq.com>)
Список pgsql-general
On 02/19/11 5:57 PM, 页公倒龙 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?
>
> I look forward to hearing from you again soon.
>

functions are only defined in the context of the database you define
them in. you'll need to add your function to any database you want to
use it in.




В списке pgsql-general по дате отправления:

Предыдущее
От: PANAGIOTIS GERMANIS
Дата:
Сообщение: Mac OSX 10.6 libpq.5.dylib
Следующее
От: Scott Ribe
Дата:
Сообщение: Re: Mac OSX 10.6 libpq.5.dylib