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