Abhijit Menon-Sen <ams(at)oryx(dot)com> writes:
> Fine with me. Two questions:
> - Where would the code live, if it were in core?
New file under utils/adt/ probably ... it's not a new datatype exactly,
but that's the default place for new SQL-visible functions.
> - Shall I hack up the API you suggested in your earlier message?
I'm not wedded to any part of that proposal, but I haven't seen any
objections or better ideas yet ...
regards, tom lane