Ruslan A Dautkhanov <[EMAIL PROTECTED]> 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

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to