Re: hi,i write a function in postgresql source code, how to register this function?

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: hi,i write a function in postgresql source code, how to register this function?
Дата
Msg-id 87mxuuqcbt.fsf@hi-media-techno.com
обсуждение исходный текст
Ответ на hi,i write a function in postgresql source code, how to register this function?  (sunpeng <bluevaley@gmail.com>)
Список pgsql-general
sunpeng <bluevaley@gmail.com> writes:

> hi,i write a function in postgresql source code, how to register this function?

See src/include/catalog/pg_proc.h

But you should *really* consider making it a loadable module. That's the
way it makes sense for any code you want to add in the server unless
you're preparing a patch for PostgreSQL itself, or you're doing a new
Index Access Method that you want crash safe.

Regards,
--
dim

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

Предыдущее
От: Jacek Trzmiel
Дата:
Сообщение: Wrong number of empty toast pages
Следующее
От: Felde Norbert
Дата:
Сообщение: Re: postgres crash SOS