Re: pl/pgsql, cursors and C function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pl/pgsql, cursors and C function
Дата
Msg-id 19913.1064337509@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pl/pgsql, cursors and C function  (Tomasz Myrta <jasiek@klaster.net>)
Список pgsql-sql
Tomasz Myrta <jasiek@klaster.net> writes:
> Do you know anything about good source of C functions documentation and 
> examples?

Look in the main sources (backend/utils/adt/, mostly) and/or contrib
modules for functions that do something like what you need.  The only
difference between a builtin function and a dynamically loaded one is
you have to add the PG_FUNCTION_INFO macro.
        regards, tom lane


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

Предыдущее
От: "scott.marlowe"
Дата:
Сообщение: Re: Using sql statements in file
Следующее
От: Guy Fraser
Дата:
Сообщение: Re: selecting duplicate records