Re: C-Type for bit(n) string in user-defined function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: C-Type for bit(n) string in user-defined function
Дата
Msg-id 5562.1389830388@sss.pgh.pa.us
обсуждение исходный текст
Ответ на C-Type for bit(n) string in user-defined function  (Maximilian Link <maximilian-link@web.de>)
Список pgsql-novice
Maximilian Link <maximilian-link@web.de> writes:
> i want to write a user-defined function using a bit(384)-type. Which C
> Type and PG_GETARG_xxx() do i use? i couldn't find anything on
> http://www.postgresql.org/docs/9.1/static/xfunc-c.html .

Look at the built-in functions for the type, which are (mostly at least)
in src/backend/utils/adt/varbit.c.

            regards, tom lane


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

Предыдущее
От: Maximilian Link
Дата:
Сообщение: C-Type for bit(n) string in user-defined function
Следующее
От: Sameer Kumar
Дата:
Сообщение: Re: archive_cleanup_command when is called?