I'm writing a function in C, and am trying to return a row, containing Numeric and array types. I'm building the row with heap_formtuple. I'm having trouble creating the numeric and array Datums. If anyone has some example code illustrating this, that'd be great.
-Adam