Re: »Ø¸´£º [GENERAL] How to make the user-defined function or type beingaccessed in the global database server?

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: »Ø¸´£º [GENERAL] How to make the user-defined function or type beingaccessed in the global database server?
Дата
Msg-id 4D62285B.9090208@hogranch.com
обсуждение исходный текст
Ответ на 回复: [GENERAL] How to make the user-defined function or type beingaccessed in the global database server?  ("页公倒龙" <77287991@qq.com>)
Список pgsql-general
On 02/19/11 10:13 PM, 页公倒龙 wrote:
> Thanks for your replying. But actually there are some difference
> database now, and I really want to define the user-defined function or
> type one time so that they can be accessed as system-defined function
> or type, how can I do? Thanks!
>

an alternative might be to define your functions in the template
database used to create your other databases, then it will be copied
into each of them at CREATE DATABASE time.

this of course is of no use if these databases already exist.




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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: »Ø¸´£º [GENERAL] How to make the user-defined function or type beingaccessed in the global database server?
Следующее
От: Yan Cheng CHEOK
Дата:
Сообщение: Drop CHECK Constraint