Re: Creating server-side functions: one simple error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Creating server-side functions: one simple error
Дата
Msg-id 27690.1034259565@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Creating server-side functions: one simple error  (Ruslan A Dautkhanov <rusland@scn.ru>)
Список pgsql-bugs
Ruslan A Dautkhanov <rusland@scn.ru> writes:
> SPI, and I have trap again - I can't translate datetime column, which
> pass to my procedure. I must convert it to UNIX 1970-seconds counter for
> my internal needs, but I havn't found _any_ PG_GETARG_* function in fmgr.h,
> which can read time types as procedure's arguments.

Not all the GETARG functions are in fmgr.h, only the most widely used
types.  See utils/timestamp.h.

            regards, tom lane

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

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #795: null resulting from left join corrupts select
Следующее
От: Joe Conway
Дата:
Сообщение: Re: user name lost from dictionary